mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-19 22:49:01 +03:00
* the definition of insanity * the definition of insanity * the definition of insanity * we have hullrot at home * maybe the real hullrot was the friends we made along the way * john hullrot * i am going to hullroooooot * it's hullrotver * we're so hullback * we're rotting the hull with this one * hullmerge * the hullrot is leaking * never gonna rot you up * hullfresh * john starsector * god i wish we had grid collision damage
58 lines
1.4 KiB
C#
58 lines
1.4 KiB
C#
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;
|
|
|
|
/// <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;
|
|
|
|
/// <summary>
|
|
/// Frontier - the state of the shuttle's inertial dampeners
|
|
/// </summary>
|
|
public InertiaDampeningMode DampeningMode;
|
|
|
|
// WWDP EDIT START
|
|
/// <summary>
|
|
/// Limits radar FOV.
|
|
/// </summary>
|
|
public float FieldOfView;
|
|
// WWDP EDIT END
|
|
|
|
public NavInterfaceState(
|
|
float maxRange,
|
|
NetCoordinates? coordinates,
|
|
Angle? angle,
|
|
Dictionary<NetEntity, List<DockingPortState>> 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
|
|
}
|