2022-02-08 00:42:49 -08:00
|
|
|
using Content.Server.GameTicking;
|
2022-01-15 15:43:14 -07:00
|
|
|
using Robust.Shared.Analyzers;
|
|
|
|
|
using Robust.Shared.GameObjects;
|
|
|
|
|
using Robust.Shared.Serialization.Manager.Attributes;
|
2022-01-16 12:52:00 -07:00
|
|
|
using Robust.Shared.ViewVariables;
|
2022-01-15 15:43:14 -07:00
|
|
|
|
|
|
|
|
namespace Content.Server.Station;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Added to grids saved in maps to designate that they are the 'main station' grid.
|
|
|
|
|
/// </summary>
|
2022-02-08 00:42:49 -08:00
|
|
|
[RegisterComponent]
|
2022-01-15 15:43:14 -07:00
|
|
|
[Friend(typeof(GameTicker))]
|
2022-02-16 00:23:23 -07:00
|
|
|
public sealed class BecomesStationComponent : Component
|
2022-01-15 15:43:14 -07:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Mapping only. Should use StationIds in all other
|
|
|
|
|
/// scenarios.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataField("id", required: true)]
|
2022-01-16 12:52:00 -07:00
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
2022-01-15 15:43:14 -07:00
|
|
|
public string Id = default!;
|
|
|
|
|
}
|