31 lines
672 B
C#
31 lines
672 B
C#
|
|
using Robust.Shared.Serialization;
|
|||
|
|
|
|||
|
|
namespace Content.Shared.Research;
|
|||
|
|
|
|||
|
|
[Serializable, NetSerializable]
|
|||
|
|
public enum DiskConsoleUiKey : byte
|
|||
|
|
{
|
|||
|
|
Key
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
[Serializable, NetSerializable]
|
|||
|
|
public sealed class DiskConsoleBoundUserInterfaceState : BoundUserInterfaceState
|
|||
|
|
{
|
|||
|
|
public bool CanPrint;
|
|||
|
|
public int PointCost;
|
|||
|
|
public int ServerPoints;
|
|||
|
|
|
|||
|
|
public DiskConsoleBoundUserInterfaceState(int serverPoints, int pointCost, bool canPrint)
|
|||
|
|
{
|
|||
|
|
CanPrint = canPrint;
|
|||
|
|
PointCost = pointCost;
|
|||
|
|
ServerPoints = serverPoints;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
[Serializable, NetSerializable]
|
|||
|
|
public sealed class DiskConsolePrintDiskMessage : BoundUserInterfaceMessage
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
}
|