mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-10 02:41:18 +03:00
49 lines
1.3 KiB
C#
49 lines
1.3 KiB
C#
using System;
|
|
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.GameObjects.Components.UserInterface;
|
|
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
|
|
{
|
|
public readonly TimeSpan? ExpectedCountdownEnd;
|
|
public readonly bool CountdownStarted;
|
|
|
|
public CommunicationsConsoleInterfaceState(TimeSpan? expectedCountdownEnd = null)
|
|
{
|
|
ExpectedCountdownEnd = expectedCountdownEnd;
|
|
CountdownStarted = expectedCountdownEnd != null;
|
|
|
|
}
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public class CommunicationsConsoleCallEmergencyShuttleMessage : BoundUserInterfaceMessage
|
|
{
|
|
public CommunicationsConsoleCallEmergencyShuttleMessage()
|
|
{
|
|
}
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public class CommunicationsConsoleRecallEmergencyShuttleMessage : BoundUserInterfaceMessage
|
|
{
|
|
public CommunicationsConsoleRecallEmergencyShuttleMessage()
|
|
{
|
|
}
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public enum CommunicationsConsoleUiKey
|
|
{
|
|
Key
|
|
}
|
|
}
|