Show / Hide Table of Contents

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 Source

MagState

What RsiState we use.

Declaration
public string? MagState
Field Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

MagSteps

How many steps there are

Declaration
public int MagSteps
Field Value
Type Description
System.Int32
| Improve this Doc View Source

ZeroVisible

Should we hide when the count is 0

Declaration
public bool ZeroVisible
Field Value
Type Description
System.Boolean
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾