Immutable gameplay stats for a weapon type.
More...
#include <WeaponConfig.hpp>
Immutable gameplay stats for a weapon type.
◆ ammoPerSecond
| float WeaponConfig::ammoPerSecond = 0.0f |
Ammo drain rate (beam weapons only).
◆ chargeDamage
| float WeaponConfig::chargeDamage = 0.0f |
Damage dealt on release (charge weapons only).
◆ damage
| float WeaponConfig::damage = 0.0f |
◆ defaultAmmoCapacity
| int WeaponConfig::defaultAmmoCapacity = 0 |
◆ dps
| float WeaponConfig::dps = 0.0f |
Damage per second (beam weapons only; discrete weapons use damage).
◆ explosive
| bool WeaponConfig::explosive = false |
◆ fireCooldown
| float WeaponConfig::fireCooldown = 0.1f |
◆ hitscan
| bool WeaponConfig::hitscan = true |
◆ initialProjectileSpeed
| float WeaponConfig::initialProjectileSpeed = 0.0f |
◆ isBeam
| bool WeaponConfig::isBeam = false |
True for continuous beam weapons (no per-shot cooldown).
◆ isCharge
| bool WeaponConfig::isCharge = false |
True for charge weapons (hold to charge, release to fire).
◆ magazineSize
| int WeaponConfig::magazineSize = 0 |
The documentation for this struct was generated from the following file: