19 lines
653 B
C#
19 lines
653 B
C#
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Shuttles.Components;
|
|
|
|
[RegisterComponent, NetworkedComponent]
|
|
public sealed partial class EmergencyShuttleConsoleComponent : Component
|
|
{
|
|
// TODO: Okay doing it by string is kinda suss but also ID card tracking doesn't seem to be robust enough
|
|
|
|
/// <summary>
|
|
/// ID cards that have been used to authorize an early launch.
|
|
/// </summary>
|
|
[ViewVariables(VVAccess.ReadWrite), DataField("authorized")]
|
|
public HashSet<string> AuthorizedEntities = new();
|
|
|
|
[ViewVariables(VVAccess.ReadWrite), DataField("authorizationsRequired")]
|
|
public int AuthorizationsRequired = 3;
|
|
}
|