30 lines
764 B
C#
30 lines
764 B
C#
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;
|
|
}
|
|
}
|