1
0

PlaceableSurfaceComponent.cs 524 B

123456789101112131415161718
  1. using System.Numerics;
  2. using Robust.Shared.GameStates;
  3. namespace Content.Shared.Placeable;
  4. [RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
  5. [Access(typeof(PlaceableSurfaceSystem))]
  6. public sealed partial class PlaceableSurfaceComponent : Component
  7. {
  8. [DataField, AutoNetworkedField]
  9. public bool IsPlaceable { get; set; } = true;
  10. [DataField, AutoNetworkedField]
  11. public bool PlaceCentered { get; set; }
  12. [DataField, AutoNetworkedField]
  13. public Vector2 PositionOffset { get; set; }
  14. }