PortableScrubberVisualsComponent.cs 712 B

1234567891011121314151617181920212223
  1. namespace Content.Client.Atmos.Visualizers;
  2. /// <summary>
  3. /// Holds 2 pairs of states. The idle/running pair controls animation, while
  4. /// the ready / full pair controls the color of the light.
  5. /// </summary>
  6. [RegisterComponent]
  7. public sealed partial class PortableScrubberVisualsComponent : Component
  8. {
  9. [DataField("idleState", required: true)]
  10. public string IdleState = default!;
  11. [DataField("runningState", required: true)]
  12. public string RunningState = default!;
  13. /// Powered and not full
  14. [DataField("readyState", required: true)]
  15. public string ReadyState = default!;
  16. /// Powered and full
  17. [DataField("fullState", required: true)]
  18. public string FullState = default!;
  19. }