Files
crystall-punk-14/Content.Shared/Placeable/PlaceableSurfaceComponent.cs

19 lines
524 B
C#
Raw Permalink Normal View History

using System.Numerics;
2021-08-20 10:21:39 +02:00
using Robust.Shared.GameStates;
namespace Content.Shared.Placeable;
2021-08-20 10:21:39 +02:00
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
[Access(typeof(PlaceableSurfaceSystem))]
public sealed partial class PlaceableSurfaceComponent : Component
{
[DataField, AutoNetworkedField]
public bool IsPlaceable { get; set; } = true;
2021-08-20 10:21:39 +02:00
[DataField, AutoNetworkedField]
public bool PlaceCentered { get; set; }
2021-08-20 10:21:39 +02:00
[DataField, AutoNetworkedField]
public Vector2 PositionOffset { get; set; }
2021-08-20 10:21:39 +02:00
}