Evac shuttle (#8931)
Co-authored-by: metalgearsloth <metalgearsloth@gmail.com>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.Shuttles.BUIStates;
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class EmergencyConsoleBoundUserInterfaceState : BoundUserInterfaceState
|
||||
{
|
||||
/// <summary>
|
||||
/// null if we're not early launching.
|
||||
/// </summary>
|
||||
public TimeSpan? EarlyLaunchTime;
|
||||
public List<string> Authorizations = new();
|
||||
public int AuthorizationsRequired;
|
||||
|
||||
public TimeSpan? TimeToLaunch;
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.Shuttles.Events;
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class EmergencyShuttleAuthorizeMessage : BoundUserInterfaceMessage
|
||||
{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.Shuttles.Events;
|
||||
|
||||
/// <summary>
|
||||
/// For debugging the expected emergency shuttle position.
|
||||
/// </summary>
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class EmergencyShuttlePositionMessage : EntityEventArgs
|
||||
{
|
||||
public EntityUid? StationUid;
|
||||
public Box2? Position;
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.Shuttles.Events;
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class EmergencyShuttleRepealAllMessage : BoundUserInterfaceMessage
|
||||
{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.Shuttles.Events;
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class EmergencyShuttleRepealMessage : BoundUserInterfaceMessage
|
||||
{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.Shuttles.Events;
|
||||
|
||||
/// <summary>
|
||||
/// Raised on the client to request the expected position of the emergency shuttle for debugging.
|
||||
/// </summary>
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class EmergencyShuttleRequestPositionMessage : EntityEventArgs
|
||||
{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.Shuttles.Systems;
|
||||
|
||||
public abstract partial class SharedShuttleSystem
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public enum EmergencyConsoleUiKey : byte
|
||||
{
|
||||
Key,
|
||||
}
|
||||
6
Content.Shared/Shuttles/Systems/SharedShuttleSystem.cs
Normal file
6
Content.Shared/Shuttles/Systems/SharedShuttleSystem.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace Content.Shared.Shuttles.Systems;
|
||||
|
||||
public abstract partial class SharedShuttleSystem : EntitySystem
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user