BecomesStationComponent.cs 548 B

12345678910111213141516171819
  1. using Content.Server.GameTicking;
  2. namespace Content.Server.Station.Components;
  3. /// <summary>
  4. /// Added to grids saved in maps to designate that they are the 'main station' grid.
  5. /// </summary>
  6. [RegisterComponent]
  7. [Access(typeof(GameTicker))]
  8. public sealed partial class BecomesStationComponent : Component
  9. {
  10. /// <summary>
  11. /// Mapping only. Should use StationIds in all other
  12. /// scenarios.
  13. /// </summary>
  14. [DataField("id", required: true)]
  15. [ViewVariables(VVAccess.ReadWrite)]
  16. public string Id = default!;
  17. }