Resolves StorageVisualizer is Obsolete (#13910)
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
namespace Content.Client.Storage.Visualizers;
|
||||
|
||||
[RegisterComponent]
|
||||
[Access(typeof(EntityStorageVisualizerSystem))]
|
||||
public sealed 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 RSI state used for the lock indicator while the storage is locked.
|
||||
/// </summary>
|
||||
[DataField("stateLocked")]
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
public string? StateLocked = "locked";
|
||||
|
||||
/// <summary>
|
||||
/// The RSI state used for the lock indicator while the storage is unlocked.
|
||||
/// </summary>
|
||||
[DataField("stateUnlocked")]
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
public string? StateUnlocked = "unlocked";
|
||||
}
|
||||
Reference in New Issue
Block a user