|
VoltMod
C++23 framework for CS2 server plugins
|
#include <Damage.hpp>
Public Attributes | |
| Entity | Victim |
| const EntityRef | Attacker |
| const EntityRef | Inflictor |
| float | Amount = 0.0f |
| uint32_t | Type = DamageGeneric |
Damage type bits (DamageTypes_t); combine with |. bits | |
| bool | Blocked = false |
One hit on its way to the engine, as a Damage::Before handler sees it.
Definition at line 49 of file Damage.hpp.
| float VoltMod::DamageHit::Amount = 0.0f |
Edits to Amount and Type reach the engine.
Definition at line 56 of file Damage.hpp.
Read-only: the engine keeps its own copy of who is credited.
Definition at line 53 of file Damage.hpp.
Set to cancel the hit; nothing is dealt and no damage event fires.
Definition at line 59 of file Damage.hpp.
Definition at line 54 of file Damage.hpp.
| uint32_t VoltMod::DamageHit::Type = DamageGeneric |
Damage type bits (DamageTypes_t); combine with |. bits
Definition at line 57 of file Damage.hpp.
| Entity VoltMod::DamageHit::Victim |
Definition at line 51 of file Damage.hpp.