1
0

EntityStorageVisualsComponent.cs 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. namespace Content.Client.Storage.Visualizers;
  2. [RegisterComponent]
  3. [Access(typeof(EntityStorageVisualizerSystem))]
  4. public sealed partial class EntityStorageVisualsComponent : Component
  5. {
  6. /// <summary>
  7. /// The RSI state used for the base layer of the storage entity sprite while the storage is closed.
  8. /// </summary>
  9. [DataField("stateBaseClosed")]
  10. [ViewVariables(VVAccess.ReadWrite)]
  11. public string? StateBaseClosed;
  12. /// <summary>
  13. /// The RSI state used for the base layer of the storage entity sprite while the storage is open.
  14. /// </summary>
  15. [DataField("stateBaseOpen")]
  16. [ViewVariables(VVAccess.ReadWrite)]
  17. public string? StateBaseOpen;
  18. /// <summary>
  19. /// The RSI state used for the door/lid while the storage is open.
  20. /// </summary>
  21. [DataField("stateDoorOpen")]
  22. [ViewVariables(VVAccess.ReadWrite)]
  23. public string? StateDoorOpen;
  24. /// <summary>
  25. /// The RSI state used for the door/lid while the storage is closed.
  26. /// </summary>
  27. [DataField("stateDoorClosed")]
  28. [ViewVariables(VVAccess.ReadWrite)]
  29. public string? StateDoorClosed;
  30. /// <summary>
  31. /// The drawdepth the object has when it's open
  32. /// </summary>
  33. [DataField, ViewVariables(VVAccess.ReadWrite)]
  34. public int? OpenDrawDepth;
  35. /// <summary>
  36. /// The drawdepth the object has when it's closed
  37. /// </summary>
  38. [DataField, ViewVariables(VVAccess.ReadWrite)]
  39. public int? ClosedDrawDepth;
  40. }