Files
crystall-punk-14/Content.Shared/Shuttles/BUIStates/ShuttleConsoleBoundInterfaceState.cs

37 lines
1.1 KiB
C#
Raw Normal View History

using Content.Shared.Shuttles.Components;
2022-07-15 14:11:41 +10:00
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
{
2022-07-15 14:11:41 +10:00
/// <summary>
/// The current FTL state.
/// </summary>
public readonly FTLState FTLState;
/// <summary>
/// When the next FTL state change happens.
/// </summary>
public readonly TimeSpan FTLTime;
2022-07-15 14:11:41 +10:00
public List<(EntityUid Entity, string Destination, bool Enabled)> Destinations;
public ShuttleConsoleBoundInterfaceState(
2022-07-15 14:11:41 +10:00
FTLState ftlState,
TimeSpan ftlTime,
List<(EntityUid Entity, string Destination, bool Enabled)> destinations,
float maxRange,
2022-06-23 14:36:47 +10:00
EntityCoordinates? coordinates,
Angle? angle,
List<DockingInterfaceState> docks) : base(maxRange, coordinates, angle, docks)
{
2022-07-15 14:11:41 +10:00
FTLState = ftlState;
FTLTime = ftlTime;
Destinations = destinations;
}
}