|
VoltMod
C++23 framework for CS2 server plugins
|
#include <EventTypes.hpp>
Static Public Member Functions | |
| static GgKilledEnemy | From (IGameEvent &e) |
Public Attributes | |
| int | VictimidSlot = -1 |
| user ID who died | |
| int | AttackeridSlot = -1 |
| user ID who killed | |
| int | Dominated = 0 |
| did killer dominate victim with this kill | |
| int | Revenge = 0 |
| did killer get revenge on victim with this kill | |
| bool | Bonus = false |
| did killer kill with a bonus weapon? | |
Static Public Attributes | |
| static constexpr std::string_view | EventName = "gg_killed_enemy" |
Definition at line 787 of file EventTypes.hpp.
|
static |
Definition at line 744 of file EventTypes.cpp.
References VoltMod::ReadFile(), and VictimidSlot.
| int VoltMod::GgKilledEnemy::AttackeridSlot = -1 |
user ID who killed
Definition at line 791 of file EventTypes.hpp.
did killer kill with a bonus weapon?
Definition at line 794 of file EventTypes.hpp.
| int VoltMod::GgKilledEnemy::Dominated = 0 |
did killer dominate victim with this kill
Definition at line 792 of file EventTypes.hpp.
|
staticconstexpr |
Definition at line 789 of file EventTypes.hpp.
| int VoltMod::GgKilledEnemy::Revenge = 0 |
did killer get revenge on victim with this kill
Definition at line 793 of file EventTypes.hpp.
| int VoltMod::GgKilledEnemy::VictimidSlot = -1 |