WeaponSlot
Definition WeaponState.hpp:18
WeaponType
Weapon type — determines tracer style, damage, sound, and impact effects.
Definition WeaponState.hpp:10
@ EnergyGun
Fast hitscan energy burst.
@ Rocket
Slow arcing projectile (ribbon trail)
@ RailGun
Hitscan energy weapon (beam + lightning arcs)
@ Rifle
Fast hitscan/projectile (R301-style capsule tracer)
Struct that defines this weapon's type, cooldown, and ammo.
Definition WeaponState.hpp:27
WeaponType type
Definition WeaponState.hpp:28
float fireCooldown
Definition WeaponState.hpp:31
float chargeTime
Accumulated charge time (charge weapons only).
Definition WeaponState.hpp:32
int currentMagAmmo
Definition WeaponState.hpp:30
int totalAmmo
Definition WeaponState.hpp:29
Component attached to armed entities (players).
Definition WeaponState.hpp:37
GunInstance quaternary
Definition WeaponState.hpp:41
WeaponSlot current
Currently equipped weapon slot.
Definition WeaponState.hpp:42
GunInstance secondary
Definition WeaponState.hpp:39
GunInstance primary
Definition WeaponState.hpp:38
GunInstance tertiary
Definition WeaponState.hpp:40