Cargo Pallet Sale Console (#14422)
This commit is contained in:
29
Content.Shared/Cargo/BUI/CargoPalletConsoleInterfaceState.cs
Normal file
29
Content.Shared/Cargo/BUI/CargoPalletConsoleInterfaceState.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.Cargo.BUI;
|
||||
|
||||
[NetSerializable, Serializable]
|
||||
public sealed class CargoPalletConsoleInterfaceState : BoundUserInterfaceState
|
||||
{
|
||||
/// <summary>
|
||||
/// estimated apraised value of all the entities on top of pallets on the same grid as the console
|
||||
/// </summary>
|
||||
public int Appraisal;
|
||||
|
||||
/// <summary>
|
||||
/// number of entities on top of pallets on the same grid as the console
|
||||
/// </summary>
|
||||
public int Count;
|
||||
|
||||
/// <summary>
|
||||
/// are the buttons enabled
|
||||
/// </summary>
|
||||
public bool Enabled;
|
||||
|
||||
public CargoPalletConsoleInterfaceState(int appraisal, int count, bool enabled)
|
||||
{
|
||||
Appraisal = appraisal;
|
||||
Count = count;
|
||||
Enabled = enabled;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user