| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- 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
- }
|