CargoPalletConsoleInterfaceState.cs 764 B

1234567891011121314151617181920212223242526272829
  1. using Robust.Shared.Serialization;
  2. namespace Content.Shared.Cargo.BUI;
  3. [NetSerializable, Serializable]
  4. public sealed class CargoPalletConsoleInterfaceState : BoundUserInterfaceState
  5. {
  6. /// <summary>
  7. /// estimated apraised value of all the entities on top of pallets on the same grid as the console
  8. /// </summary>
  9. public int Appraisal;
  10. /// <summary>
  11. /// number of entities on top of pallets on the same grid as the console
  12. /// </summary>
  13. public int Count;
  14. /// <summary>
  15. /// are the buttons enabled
  16. /// </summary>
  17. public bool Enabled;
  18. public CargoPalletConsoleInterfaceState(int appraisal, int count, bool enabled)
  19. {
  20. Appraisal = appraisal;
  21. Count = count;
  22. Enabled = enabled;
  23. }
  24. }