6
StarHorizon_Public/Content.Client/Storage/Visualizers/EntityStorageVisualsComponent.cs
2026-01-18 12:53:36 +03:00

47 lines
1.4 KiB
C#

namespace Content.Client.Storage.Visualizers;
[RegisterComponent]
[Access(typeof(EntityStorageVisualizerSystem))]
public sealed partial class EntityStorageVisualsComponent : Component
{
/// <summary>
/// The RSI state used for the base layer of the storage entity sprite while the storage is closed.
/// </summary>
[DataField("stateBaseClosed")]
[ViewVariables(VVAccess.ReadWrite)]
public string? StateBaseClosed;
/// <summary>
/// The RSI state used for the base layer of the storage entity sprite while the storage is open.
/// </summary>
[DataField("stateBaseOpen")]
[ViewVariables(VVAccess.ReadWrite)]
public string? StateBaseOpen;
/// <summary>
/// The RSI state used for the door/lid while the storage is open.
/// </summary>
[DataField("stateDoorOpen")]
[ViewVariables(VVAccess.ReadWrite)]
public string? StateDoorOpen;
/// <summary>
/// The RSI state used for the door/lid while the storage is closed.
/// </summary>
[DataField("stateDoorClosed")]
[ViewVariables(VVAccess.ReadWrite)]
public string? StateDoorClosed;
/// <summary>
/// The drawdepth the object has when it's open
/// </summary>
[DataField, ViewVariables(VVAccess.ReadWrite)]
public int? OpenDrawDepth;
/// <summary>
/// The drawdepth the object has when it's closed
/// </summary>
[DataField, ViewVariables(VVAccess.ReadWrite)]
public int? ClosedDrawDepth;
}