Files
OldThink/Content.Server/Shuttles/Components/ShuttleConsoleComponent.cs

24 lines
698 B
C#
Raw Normal View History

2021-11-21 17:09:49 +11:00
using Content.Shared.Shuttles.Components;
2021-11-21 17:09:49 +11:00
namespace Content.Server.Shuttles.Components
{
[RegisterComponent]
public sealed class ShuttleConsoleComponent : SharedShuttleConsoleComponent
{
/// <summary>
/// Set by shuttlesystem if the grid should no longer be pilotable.
/// </summary>
[ViewVariables]
public bool CanPilot = true;
[ViewVariables]
public readonly List<PilotComponent> SubscribedPilots = new();
/// <summary>
/// How much should the pilot's eye be zoomed by when piloting using this console?
/// </summary>
[DataField("zoom")]
public Vector2 Zoom = new(1.5f, 1.5f);
}
}