2020-04-09 00:28:56 +02:00
|
|
|
using System;
|
|
|
|
|
using Robust.Shared.GameObjects;
|
|
|
|
|
using Robust.Shared.Serialization;
|
|
|
|
|
|
|
|
|
|
namespace Content.Shared.GameObjects.Components.Command
|
|
|
|
|
{
|
|
|
|
|
public class SharedCommunicationsConsoleComponent : Component
|
|
|
|
|
{
|
|
|
|
|
public override string Name => "CommunicationsConsole";
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Serializable, NetSerializable]
|
|
|
|
|
public class CommunicationsConsoleInterfaceState : BoundUserInterfaceState
|
|
|
|
|
{
|
2020-04-09 20:28:22 +02:00
|
|
|
public readonly TimeSpan? ExpectedCountdownEnd;
|
2020-04-09 00:28:56 +02:00
|
|
|
public readonly bool CountdownStarted;
|
|
|
|
|
|
2020-04-09 20:28:22 +02:00
|
|
|
public CommunicationsConsoleInterfaceState(TimeSpan? expectedCountdownEnd = null)
|
2020-04-09 00:28:56 +02:00
|
|
|
{
|
|
|
|
|
ExpectedCountdownEnd = expectedCountdownEnd;
|
|
|
|
|
CountdownStarted = expectedCountdownEnd != null;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Serializable, NetSerializable]
|
|
|
|
|
public class CommunicationsConsoleCallEmergencyShuttleMessage : BoundUserInterfaceMessage
|
|
|
|
|
{
|
|
|
|
|
public CommunicationsConsoleCallEmergencyShuttleMessage()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2020-04-09 01:43:28 +02:00
|
|
|
[Serializable, NetSerializable]
|
|
|
|
|
public class CommunicationsConsoleRecallEmergencyShuttleMessage : BoundUserInterfaceMessage
|
|
|
|
|
{
|
|
|
|
|
public CommunicationsConsoleRecallEmergencyShuttleMessage()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2020-04-09 00:28:56 +02:00
|
|
|
[Serializable, NetSerializable]
|
|
|
|
|
public enum CommunicationsConsoleUiKey
|
|
|
|
|
{
|
|
|
|
|
Key
|
|
|
|
|
}
|
|
|
|
|
}
|