Class StorageContainerVisualsSystem
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
Robust.Shared.GameObjects.EntitySystem
Robust.Client.GameObjects.VisualizerSystem<StorageContainerVisualsComponent>
StorageContainerVisualsSystem
Implements
Robust.Shared.GameObjects.IEntitySystem
Robust.Shared.GameObjects.IEntityEventSubscriber
Robust.Shared.IoC.IPostInjectInit
Namespace: Content.Client.Storage.Systems
Assembly: Content.Client.dll
Syntax
public sealed class StorageContainerVisualsSystem : VisualizerSystem<StorageContainerVisualsComponent>, IEntitySystem, IEntityEventSubscriber, IPostInjectInit
Methods
| Improve this Doc View SourceOnAppearanceChange(EntityUid, StorageContainerVisualsComponent, ref AppearanceChangeEvent)
Declaration
protected override void OnAppearanceChange(EntityUid uid, StorageContainerVisualsComponent component, ref AppearanceChangeEvent args)
Parameters
Type | Name | Description |
---|---|---|
EntityUid | uid | |
StorageContainerVisualsComponent | component | |
Robust.Client.GameObjects.AppearanceChangeEvent | args |
Implements
Robust.Shared.GameObjects.IEntitySystem
Robust.Shared.GameObjects.IEntityEventSubscriber
Robust.Shared.IoC.IPostInjectInit