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 EntityCoordinates? Coordinates;
///
/// The relevant rotation to rotate the angle around.
///
public Angle? Angle;
public readonly List Docks;
public RadarConsoleBoundInterfaceState(
float maxRange,
EntityCoordinates? 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 EntityCoordinates Coordinates;
public Angle Angle;
public EntityUid Entity;
public bool Connected;
public Color Color;
public Color HighlightedColor;
}
[Serializable, NetSerializable]
public enum RadarConsoleUiKey : byte
{
Key
}