43 lines
952 B
C#
43 lines
952 B
C#
using Robust.Shared.Map;
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared.Shuttles.BUIStates;
|
|
|
|
[Serializable, NetSerializable]
|
|
public sealed class NavInterfaceState
|
|
{
|
|
public float MaxRange;
|
|
|
|
/// <summary>
|
|
/// The relevant coordinates to base the radar around.
|
|
/// </summary>
|
|
public NetCoordinates? Coordinates;
|
|
|
|
/// <summary>
|
|
/// The relevant rotation to rotate the angle around.
|
|
/// </summary>
|
|
public Angle? Angle;
|
|
|
|
public Dictionary<NetEntity, List<DockingPortState>> Docks;
|
|
|
|
public bool RotateWithEntity = true;
|
|
|
|
public NavInterfaceState(
|
|
float maxRange,
|
|
NetCoordinates? coordinates,
|
|
Angle? angle,
|
|
Dictionary<NetEntity, List<DockingPortState>> docks)
|
|
{
|
|
MaxRange = maxRange;
|
|
Coordinates = coordinates;
|
|
Angle = angle;
|
|
Docks = docks;
|
|
}
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public enum RadarConsoleUiKey : byte
|
|
{
|
|
Key
|
|
}
|