Resolves StackVisualizer is Obsolete (#13908)
This commit is contained in:
@@ -24,5 +24,37 @@ namespace Content.Shared.Storage.Components
|
||||
|
||||
[DataField("amount")]
|
||||
public int? MaxAmount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Default IconLayer stack.
|
||||
/// </summary>
|
||||
[DataField("baseLayer")]
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
public string BaseLayer = "";
|
||||
|
||||
/// <summary>
|
||||
/// Determines if the visualizer uses composite or non-composite layers for icons. Defaults to false.
|
||||
///
|
||||
/// <list type="bullet">
|
||||
/// <item>
|
||||
/// <description>false: they are opaque and mutually exclusive (e.g. sprites in a cable coil). <b>Default value</b></description>
|
||||
/// </item>
|
||||
/// <item>
|
||||
/// <description>true: they are transparent and thus layered one over another in ascending order first</description>
|
||||
/// </item>
|
||||
/// </list>
|
||||
///
|
||||
/// </summary>
|
||||
[DataField("composite")]
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
public bool IsComposite;
|
||||
|
||||
/// <summary>
|
||||
/// Sprite layers used in counter visualizer. Sprites first in layer correspond to lower stack states
|
||||
/// e.g. <code>_spriteLayers[0]</code> is lower stack level than <code>_spriteLayers[1]</code>.
|
||||
/// </summary>
|
||||
[DataField("layerStates")]
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
public List<string> LayerStates = new();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user