|
VoltMod
C++23 framework for CS2 server plugins
|
#include <EventTypes.hpp>
Static Public Member Functions | |
| static OtherDeath | From (IGameEvent &e) |
Public Attributes | |
| int | Otherid = 0 |
| other entity ID who died | |
| std::string | Othertype |
| other entity type | |
| int | Attacker = 0 |
| user ID who killed | |
| std::string | Weapon |
| weapon name killer used | |
| std::string | WeaponItemid |
| inventory item id of weapon killer used | |
| std::string | WeaponFauxitemid |
| faux item id of weapon killer used | |
| std::string | WeaponOriginalownerXuid |
| bool | Headshot = false |
| singals a headshot | |
| int | Penetrated = 0 |
| number of objects shot penetrated before killing target | |
| bool | Noscope = false |
| kill happened without a scope, used for death notice icon | |
| bool | Thrusmoke = false |
| hitscan weapon went through smoke grenade | |
| bool | Attackerblind = false |
| attacker was blind from flashbang | |
Static Public Attributes | |
| static constexpr std::string_view | EventName = "other_death" |
Definition at line 1321 of file EventTypes.hpp.
|
static |
Definition at line 1250 of file EventTypes.cpp.
References Otherid, and VoltMod::ReadFile().
| int VoltMod::OtherDeath::Attacker = 0 |
user ID who killed
Definition at line 1326 of file EventTypes.hpp.
attacker was blind from flashbang
Definition at line 1335 of file EventTypes.hpp.
|
staticconstexpr |
Definition at line 1323 of file EventTypes.hpp.
singals a headshot
Definition at line 1331 of file EventTypes.hpp.
kill happened without a scope, used for death notice icon
Definition at line 1333 of file EventTypes.hpp.
| int VoltMod::OtherDeath::Otherid = 0 |
| std::string VoltMod::OtherDeath::Othertype |
other entity type
Definition at line 1325 of file EventTypes.hpp.
| int VoltMod::OtherDeath::Penetrated = 0 |
number of objects shot penetrated before killing target
Definition at line 1332 of file EventTypes.hpp.
hitscan weapon went through smoke grenade
Definition at line 1334 of file EventTypes.hpp.
| std::string VoltMod::OtherDeath::Weapon |
weapon name killer used
Definition at line 1327 of file EventTypes.hpp.
| std::string VoltMod::OtherDeath::WeaponFauxitemid |
faux item id of weapon killer used
Definition at line 1329 of file EventTypes.hpp.
| std::string VoltMod::OtherDeath::WeaponItemid |
inventory item id of weapon killer used
Definition at line 1328 of file EventTypes.hpp.
| std::string VoltMod::OtherDeath::WeaponOriginalownerXuid |
Definition at line 1330 of file EventTypes.hpp.