Cargo Pallet Sale Console (#14422)

This commit is contained in:
Checkraze
2023-03-13 16:36:35 -04:00
committed by GitHub
parent a7f9b2881b
commit b329abc9ee
11 changed files with 335 additions and 22 deletions

View 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;
}
}