1
0

StationCentcommComponent.cs 653 B

1234567891011121314151617181920212223242526272829
  1. using Robust.Shared.Map;
  2. using Robust.Shared.Utility;
  3. namespace Content.Server.Shuttles.Components;
  4. /// <summary>
  5. /// Spawns Central Command (emergency destination) for a station.
  6. /// </summary>
  7. [RegisterComponent]
  8. public sealed partial class StationCentcommComponent : Component
  9. {
  10. /// <summary>
  11. /// Crude shuttle offset spawning.
  12. /// </summary>
  13. [DataField]
  14. public float ShuttleIndex;
  15. [DataField]
  16. public ResPath Map = new("/Maps/centcomm.yml");
  17. /// <summary>
  18. /// Centcomm entity that was loaded.
  19. /// </summary>
  20. [DataField]
  21. public EntityUid? Entity;
  22. [DataField]
  23. public EntityUid? MapEntity;
  24. }