Portable scrubbers (#9417)

This commit is contained in:
Rane
2022-07-15 08:46:30 -04:00
committed by GitHub
parent f16de2186e
commit 188934a748
23 changed files with 481 additions and 24 deletions

View File

@@ -0,0 +1,23 @@
namespace Content.Client.Atmos.Visualizers;
/// <summary>
/// Holds 2 pairs of states. The idle/running pair controls animation, while
/// the ready / full pair controls the color of the light.
/// </summary>
[RegisterComponent]
public sealed class PortableScrubberVisualsComponent : Component
{
[DataField("idleState", required: true)]
public string IdleState = default!;
[DataField("runningState", required: true)]
public string RunningState = default!;
/// Powered and not full
[DataField("readyState", required: true)]
public string ReadyState = default!;
/// Powered and full
[DataField("fullState", required: true)]
public string FullState = default!;
}