StationDataComponent.cs 851 B

1234567891011121314151617181920212223242526
  1. using Content.Server.Shuttles.Systems;
  2. using Content.Server.Station.Systems;
  3. using Robust.Shared.Serialization.TypeSerializers.Implementations;
  4. using Robust.Shared.Utility;
  5. namespace Content.Server.Station.Components;
  6. /// <summary>
  7. /// Stores core information about a station, namely its config and associated grids.
  8. /// All station entities will have this component.
  9. /// </summary>
  10. [RegisterComponent, Access(typeof(StationSystem))]
  11. public sealed partial class StationDataComponent : Component
  12. {
  13. /// <summary>
  14. /// The game map prototype, if any, associated with this station.
  15. /// </summary>
  16. [DataField("stationConfig")]
  17. public StationConfig? StationConfig = null;
  18. /// <summary>
  19. /// List of all grids this station is part of.
  20. /// </summary>
  21. [DataField("grids")]
  22. public HashSet<EntityUid> Grids = new();
  23. }