39 lines
1.1 KiB
C#
39 lines
1.1 KiB
C#
using Content.Shared.Shuttles.Components;
|
|
using Content.Shared.Shuttles.Systems;
|
|
using Robust.Shared.Map;
|
|
using Robust.Shared.Serialization;
|
|
|
|
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;
|
|
}
|
|
}
|