Show / Hide Table of Contents

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 Source

OnAppearanceChange(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
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾