Add FTL destinations (#9685)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Content.Shared.Shuttles.Components;
|
||||
using Content.Shared.Shuttles.Systems;
|
||||
using Robust.Shared.Map;
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
@@ -7,15 +8,31 @@ namespace Content.Shared.Shuttles.BUIStates;
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class ShuttleConsoleBoundInterfaceState : RadarConsoleBoundInterfaceState
|
||||
{
|
||||
/// <summary>
|
||||
/// The current FTL state.
|
||||
/// </summary>
|
||||
public readonly FTLState FTLState;
|
||||
|
||||
/// <summary>
|
||||
/// When the next FTL state change happens.
|
||||
/// </summary>
|
||||
public readonly TimeSpan FTLTime;
|
||||
public readonly ShuttleMode Mode;
|
||||
public List<(EntityUid Entity, string Destination, bool Enabled)> Destinations;
|
||||
|
||||
public ShuttleConsoleBoundInterfaceState(
|
||||
FTLState ftlState,
|
||||
TimeSpan ftlTime,
|
||||
ShuttleMode mode,
|
||||
List<(EntityUid Entity, string Destination, bool Enabled)> destinations,
|
||||
float maxRange,
|
||||
EntityCoordinates? coordinates,
|
||||
Angle? angle,
|
||||
List<DockingInterfaceState> docks) : base(maxRange, coordinates, angle, docks)
|
||||
{
|
||||
FTLState = ftlState;
|
||||
FTLTime = ftlTime;
|
||||
Destinations = destinations;
|
||||
Mode = mode;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user