LockVisualsComponent.cs 625 B

1234567891011121314151617181920
  1. namespace Content.Client.Lock.Visualizers;
  2. [RegisterComponent]
  3. [Access(typeof(LockVisualizerSystem))]
  4. public sealed partial class LockVisualsComponent : Component
  5. {
  6. /// <summary>
  7. /// The RSI state used for the lock indicator while the entity is locked.
  8. /// </summary>
  9. [DataField("stateLocked")]
  10. [ViewVariables(VVAccess.ReadWrite)]
  11. public string? StateLocked = "locked";
  12. /// <summary>
  13. /// The RSI state used for the lock indicator entity is unlocked.
  14. /// </summary>
  15. [DataField("stateUnlocked")]
  16. [ViewVariables(VVAccess.ReadWrite)]
  17. public string? StateUnlocked = "unlocked";
  18. }