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 them as 'part of a station' and not main grids. I.e. ancillary
|
|
|
|
|
/// shuttles for multi-grid stations.
|
|
|
|
|
/// </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 PartOfStationComponent : Component
|
2022-01-15 15:43:14 -07:00
|
|
|
{
|
|
|
|
|
[DataField("id", required: true)] // does yamllinter even lint maps for required fields?
|
2022-01-16 12:52:00 -07:00
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
2022-01-15 15:43:14 -07:00
|
|
|
public string Id = default!;
|
|
|
|
|
}
|