Class StorageContainerVisualsComponent
Essentially a version of SolutionContainerVisualsComponent fill level handling but for item storage. Depending on the fraction of storage that's filled, will change the sprite at FillLayer to the nearest fill level, up to MaxFillLevels.
Inheritance
System.Object
StorageContainerVisualsComponent
Namespace: Content.Client.Storage.Components
Assembly: Content.Client.dll
Syntax
public sealed class StorageContainerVisualsComponent : Component
Fields
| Improve this Doc View SourceFillBaseName
A prefix to use for the fill states., i.e. {FillBaseName}{fill level} for the state
Declaration
public string? FillBaseName
Field Value
Type | Description |
---|---|
System.Nullable<System.String> |
FillLayer
Declaration
public StorageContainerVisualLayers FillLayer
Field Value
Type | Description |
---|---|
StorageContainerVisualLayers |
MaxFillLevels
Declaration
public int MaxFillLevels
Field Value
Type | Description |
---|---|
System.Int32 |