27 lines
653 B
C#
27 lines
653 B
C#
using Content.Shared.Shipyard.Prototypes;
|
|
using Robust.Shared.Prototypes;
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared.Shipyard;
|
|
|
|
[Serializable, NetSerializable]
|
|
public enum ShipyardConsoleUiKey : byte
|
|
{
|
|
Key
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public sealed class ShipyardConsoleState(int balance) : BoundUserInterfaceState
|
|
{
|
|
public readonly int Balance = balance;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Ask the server to purchase a vessel.
|
|
/// </summary>
|
|
[Serializable, NetSerializable]
|
|
public sealed class ShipyardConsolePurchaseMessage(string vessel) : BoundUserInterfaceMessage
|
|
{
|
|
public readonly ProtoId<VesselPrototype> Vessel = vessel;
|
|
}
|