Class MagazineVisualsComponent
Visualizer for gun mag presence; can change states based on ammo count or toggle visibility entirely.
Inheritance
System.Object
MagazineVisualsComponent
Namespace: Content.Client.Weapons.Ranged.Components
Assembly: Content.Client.dll
Syntax
public sealed class MagazineVisualsComponent : Component
Fields
| Improve this Doc View SourceMagState
What RsiState we use.
Declaration
public string? MagState
Field Value
Type | Description |
---|---|
System.Nullable<System.String> |
MagSteps
How many steps there are
Declaration
public int MagSteps
Field Value
Type | Description |
---|---|
System.Int32 |
ZeroVisible
Should we hide when the count is 0
Declaration
public bool ZeroVisible
Field Value
Type | Description |
---|---|
System.Boolean |