using System.Collections.Generic; using Content.Shared.Shuttles; using Content.Shared.Shuttles.Components; using Robust.Shared.GameObjects; using Robust.Shared.Maths; using Robust.Shared.Serialization.Manager.Attributes; using Robust.Shared.ViewVariables; namespace Content.Server.Shuttles.Components { [RegisterComponent] [ComponentReference(typeof(SharedShuttleConsoleComponent))] internal sealed class ShuttleConsoleComponent : SharedShuttleConsoleComponent { [ViewVariables] public List SubscribedPilots = new(); /// /// Whether the console can be used to pilot. Toggled whenever it gets powered / unpowered. /// [ViewVariables] public bool Enabled { get; set; } = false; /// /// How much should the pilot's eye be zoomed by when piloting using this console? /// [DataField("zoom")] public Vector2 Zoom = new(1.5f, 1.5f); } }