SolutionItemStatusComponent.cs 721 B

12345678910111213141516171819202122
  1. using Content.Client.Chemistry.EntitySystems;
  2. using Content.Client.Chemistry.UI;
  3. namespace Content.Client.Chemistry.Components;
  4. /// <summary>
  5. /// Exposes a solution container's contents via a basic item status control.
  6. /// </summary>
  7. /// <remarks>
  8. /// Shows the solution volume, max volume, and transfer amount.
  9. /// </remarks>
  10. /// <seealso cref="SolutionItemStatusSystem"/>
  11. /// <seealso cref="SolutionStatusControl"/>
  12. [RegisterComponent]
  13. public sealed partial class SolutionItemStatusComponent : Component
  14. {
  15. /// <summary>
  16. /// The ID of the solution that will be shown on the item status control.
  17. /// </summary>
  18. [DataField, ViewVariables(VVAccess.ReadWrite)]
  19. public string Solution = "default";
  20. }