Class ItemCounterSystem
Inheritance
System.Object
ItemCounterSystem
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
|
Improve this Doc
View Source
Initialize()
Declaration
public override void Initialize()
Overrides
|
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 |
|