using Content.Client.Weapons.Ranged.Systems; namespace Content.Client.Weapons.Ranged.Components; /// /// Visualizer for gun mag presence; can change states based on ammo count or toggle visibility entirely. /// [RegisterComponent, Friend(typeof(GunSystem))] public sealed class MagazineVisualsComponent : Component { /// /// What RsiState we use. /// [DataField("magState")] public string? MagState; /// /// How many steps there are /// [DataField("steps")] public int MagSteps; /// /// Should we hide when the count is 0 /// [DataField("zeroVisible")] public bool ZeroVisible; } public enum GunVisualLayers : byte { Base, BaseUnshaded, Mag, MagUnshaded, }