|
VoltMod
C++23 framework for CS2 server plugins
|
#include <EventTypes.hpp>
Static Public Member Functions | |
| static ItemEquip | From (IGameEvent &e) |
Public Attributes | |
| int | Slot = -1 |
| std::string | Item |
| either a weapon such as 'tmp' or 'hegrenade', or an item such as 'nvgs' | |
| int | Defindex = 0 |
| bool | Canzoom = false |
| bool | Hassilencer = false |
| bool | Issilenced = false |
| bool | Hastracers = false |
| int | Weptype = 0 |
| bool | Ispainted = false |
Static Public Attributes | |
| static constexpr std::string_view | EventName = "item_equip" |
Definition at line 1126 of file EventTypes.hpp.
|
static |
Definition at line 1066 of file EventTypes.cpp.
References VoltMod::ReadFile(), and Slot.
Definition at line 1132 of file EventTypes.hpp.
| int VoltMod::ItemEquip::Defindex = 0 |
Definition at line 1131 of file EventTypes.hpp.
|
staticconstexpr |
Definition at line 1128 of file EventTypes.hpp.
Definition at line 1133 of file EventTypes.hpp.
Definition at line 1135 of file EventTypes.hpp.
Definition at line 1137 of file EventTypes.hpp.
Definition at line 1134 of file EventTypes.hpp.
| std::string VoltMod::ItemEquip::Item |
either a weapon such as 'tmp' or 'hegrenade', or an item such as 'nvgs'
Definition at line 1130 of file EventTypes.hpp.
| int VoltMod::ItemEquip::Slot = -1 |
Definition at line 1129 of file EventTypes.hpp.
Referenced by From().
| int VoltMod::ItemEquip::Weptype = 0 |
Definition at line 1136 of file EventTypes.hpp.