EmergencyShuttleConsoleComponent.cs 600 B

12345678910111213141516
  1. namespace Content.Server.Shuttles.Components;
  2. [RegisterComponent]
  3. public sealed partial class EmergencyShuttleConsoleComponent : Component
  4. {
  5. // TODO: Okay doing it by string is kinda suss but also ID card tracking doesn't seem to be robust enough
  6. /// <summary>
  7. /// ID cards that have been used to authorize an early launch.
  8. /// </summary>
  9. [ViewVariables(VVAccess.ReadWrite), DataField("authorized")]
  10. public HashSet<string> AuthorizedEntities = new();
  11. [ViewVariables(VVAccess.ReadWrite), DataField("authorizationsRequired")]
  12. public int AuthorizationsRequired = 3;
  13. }