using Content.Shared._NF.Shuttles.Events;
using Robust.Shared.Map;
using Robust.Shared.Serialization;
namespace Content.Shared.Shuttles.BUIStates;
[Serializable, NetSerializable]
public sealed class NavInterfaceState
{
public 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 Dictionary> Docks;
///
/// Frontier - the state of the shuttle's inertial dampeners
///
public InertiaDampeningMode DampeningMode;
// WWDP EDIT START
///
/// Limits radar FOV.
///
public float FieldOfView;
// WWDP EDIT END
public NavInterfaceState(
float maxRange,
NetCoordinates? coordinates,
Angle? angle,
Dictionary> docks,
InertiaDampeningMode dampeningMode, // Frontier: add dampeningMode
float visibilityConeAngle) // WWDP EDIT
{
MaxRange = maxRange;
Coordinates = coordinates;
Angle = angle;
Docks = docks;
DampeningMode = dampeningMode; // Frontier
FieldOfView = visibilityConeAngle; // WWDP EDIT
}
}
[Serializable, NetSerializable]
public enum RadarConsoleUiKey : byte
{
Key
}