Show / Hide Table of Contents

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 Source

FillBaseName

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>
| Improve this Doc View Source

FillLayer

Declaration
public StorageContainerVisualLayers FillLayer
Field Value
Type Description
StorageContainerVisualLayers
| Improve this Doc View Source

MaxFillLevels

Declaration
public int MaxFillLevels
Field Value
Type Description
System.Int32
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾