Show / Hide Table of Contents

Class ItemCounterSystem

Inheritance
System.Object
SharedItemCounterSystem
ItemCounterSystem
Namespace: Content.Client.Storage.Systems
Assembly: Content.Client.dll
Syntax
public sealed class ItemCounterSystem : SharedItemCounterSystem

Methods

| Improve this Doc View Source

GetCount(ContainerModifiedMessage, ItemCounterComponent)

Declaration
protected override int? GetCount(ContainerModifiedMessage msg, ItemCounterComponent itemCounter)
Parameters
Type Name Description
Robust.Shared.Containers.ContainerModifiedMessage msg
ItemCounterComponent itemCounter
Returns
Type Description
System.Nullable<System.Int32>
Overrides
SharedItemCounterSystem.GetCount(ContainerModifiedMessage, ItemCounterComponent)
| Improve this Doc View Source

Initialize()

Declaration
public override void Initialize()
Overrides
SharedItemCounterSystem.Initialize()
| Improve this Doc View Source

ProcessCompositeSprite(EntityUid, Int32, Int32, List<String>, Boolean, SpriteComponent)

Declaration
public void ProcessCompositeSprite(EntityUid uid, int count, int maxCount, List<string> layers, bool hide = false, SpriteComponent sprite = null)
Parameters
Type Name Description
EntityUid uid
System.Int32 count
System.Int32 maxCount
List<System.String> layers
System.Boolean hide
Robust.Client.GameObjects.SpriteComponent sprite
| Improve this Doc View Source

ProcessOpaqueSprite(EntityUid, String, Int32, Int32, List<String>, Boolean, SpriteComponent)

Declaration
public void ProcessOpaqueSprite(EntityUid uid, string layer, int count, int maxCount, List<string> states, bool hide = false, SpriteComponent sprite = null)
Parameters
Type Name Description
EntityUid uid
System.String layer
System.Int32 count
System.Int32 maxCount
List<System.String> states
System.Boolean hide
Robust.Client.GameObjects.SpriteComponent sprite
  • Improve this Doc
  • View Source
☀
☾
In This Article
  • Methods
    • GetCount(ContainerModifiedMessage, ItemCounterComponent)
    • Initialize()
    • ProcessCompositeSprite(EntityUid, Int32, Int32, List<String>, Boolean, SpriteComponent)
    • ProcessOpaqueSprite(EntityUid, String, Int32, Int32, List<String>, Boolean, SpriteComponent)
Back to top
Generated by DocFX
☀
☾