ShuttleConsoleComponent.cs 808 B

123456789101112131415161718192021222324
  1. using System.Numerics;
  2. using Content.Shared.Shuttles.Components;
  3. namespace Content.Server.Shuttles.Components
  4. {
  5. [RegisterComponent]
  6. public sealed partial class ShuttleConsoleComponent : SharedShuttleConsoleComponent
  7. {
  8. [ViewVariables]
  9. public readonly List<EntityUid> SubscribedPilots = new();
  10. /// <summary>
  11. /// How much should the pilot's eye be zoomed by when piloting using this console?
  12. /// </summary>
  13. [DataField("zoom")]
  14. public Vector2 Zoom = new(1.5f, 1.5f);
  15. /// <summary>
  16. /// Should this console have access to restricted FTL destinations?
  17. /// </summary>
  18. [ViewVariables(VVAccess.ReadWrite), DataField("whitelistSpecific")]
  19. public List<EntityUid> FTLWhitelist = new List<EntityUid>();
  20. }
  21. }