Files
tbd-station-14/Content.Server/Station/Components/BecomesStationComponent.cs
Vera Aguilera Puerto c5f7c61041 Fix some friend access violations by allowing others access. (#8594)
Rename Friend attribute to Access attribute.
Updates submodule to v0.21.0.0 as well.
2022-06-07 11:30:27 +02:00

20 lines
540 B
C#

using Content.Server.GameTicking;
namespace Content.Server.Station.Components;
/// <summary>
/// Added to grids saved in maps to designate that they are the 'main station' grid.
/// </summary>
[RegisterComponent]
[Access(typeof(GameTicker))]
public sealed class BecomesStationComponent : Component
{
/// <summary>
/// Mapping only. Should use StationIds in all other
/// scenarios.
/// </summary>
[DataField("id", required: true)]
[ViewVariables(VVAccess.ReadWrite)]
public string Id = default!;
}