VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
Damage.hpp File Reference

Go to the source code of this file.

Classes

struct  VoltMod::DamageInfo
 
struct  VoltMod::DamageHit
 
class  VoltMod::Damage
 Every entity's damage, from CBaseEntity::TakeDamageOld, and a way to deal it. More...
 

Namespaces

namespace  VoltMod
 

Variables

constexpr uint32_t VoltMod::DamageGeneric = 0
 
constexpr uint32_t VoltMod::DamageCrush = 1u << 0
 
constexpr uint32_t VoltMod::DamageBullet = 1u << 1
 
constexpr uint32_t VoltMod::DamageSlash = 1u << 2
 
constexpr uint32_t VoltMod::DamageBurn = 1u << 3
 
constexpr uint32_t VoltMod::DamageFall = 1u << 5
 
constexpr uint32_t VoltMod::DamageBlast = 1u << 6
 
constexpr uint32_t VoltMod::DamageClub = 1u << 7
 
constexpr uint32_t VoltMod::DamageShock = 1u << 8
 
constexpr uint32_t VoltMod::DamageHeadshot = 1u << 19