using Robust.Shared.Map; using Robust.Shared.Serialization; namespace Content.Shared.Shuttles.BUIStates; [Serializable, NetSerializable] [Virtual] public class RadarConsoleBoundInterfaceState : BoundUserInterfaceState { public readonly float MaxRange; /// /// The relevant coordinates to base the radar around. /// public NetCoordinates? Coordinates; /// /// The relevant rotation to rotate the angle around. /// public Angle? Angle; public readonly List Docks; public RadarConsoleBoundInterfaceState( float maxRange, NetCoordinates? coordinates, Angle? angle, List docks) { MaxRange = maxRange; Coordinates = coordinates; Angle = angle; Docks = docks; } } /// /// State of each individual docking port for interface purposes /// [Serializable, NetSerializable] public sealed class DockingInterfaceState { public NetCoordinates Coordinates; public Angle Angle; public NetEntity Entity; public bool Connected; public Color Color; public Color HighlightedColor; } [Serializable, NetSerializable] public enum RadarConsoleUiKey : byte { Key }