Projectile component and weapon/surface type enumerations.
More...
#include <cstdint>
#include <entt/entt.hpp>
Go to the source code of this file.
|
| enum class | WeaponType : uint8_t { Rifle
, Rocket
, RailGun
, EnergyGun
} |
| | Weapon type — determines tracer style, damage, sound, and impact effects. More...
|
| |
| enum class | WeaponSlot : uint8_t { PRIMARY
, SECONDARY
, TERTIARY
} |
| |
| enum class | SurfaceType : uint8_t {
Metal
, Concrete
, Flesh
, Wood
,
Energy
} |
| | Surface material hit by a projectile — drives impact effect parameters. More...
|
| |
Projectile component and weapon/surface type enumerations.
◆ SurfaceType
Surface material hit by a projectile — drives impact effect parameters.
| Enumerator |
|---|
| Metal | |
| Concrete | |
| Flesh | |
| Wood | |
| Energy | |
◆ WeaponSlot
| Enumerator |
|---|
| PRIMARY | |
| SECONDARY | |
| TERTIARY | |
◆ WeaponType
Weapon type — determines tracer style, damage, sound, and impact effects.
| Enumerator |
|---|
| Rifle | Fast hitscan/projectile (R301-style capsule tracer)
|
| Rocket | Slow arcing projectile (ribbon trail)
|
| RailGun | Hitscan energy weapon (beam + lightning arcs)
|
| EnergyGun | Fast hitscan energy burst.
|