|
VoltMod
C++23 framework for CS2 server plugins
|
#include <EventTypes.hpp>
Static Public Member Functions | |
| static ItemPickup | 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' | |
| bool | Silent = false |
| int | Defindex = 0 |
Static Public Attributes | |
| static constexpr std::string_view | EventName = "item_pickup" |
Definition at line 1141 of file EventTypes.hpp.
|
static |
Definition at line 1081 of file EventTypes.cpp.
References VoltMod::ReadFile(), and Slot.
| int VoltMod::ItemPickup::Defindex = 0 |
Definition at line 1147 of file EventTypes.hpp.
|
staticconstexpr |
Definition at line 1143 of file EventTypes.hpp.
| std::string VoltMod::ItemPickup::Item |
either a weapon such as 'tmp' or 'hegrenade', or an item such as 'nvgs'
Definition at line 1145 of file EventTypes.hpp.
Definition at line 1146 of file EventTypes.hpp.
| int VoltMod::ItemPickup::Slot = -1 |
Definition at line 1144 of file EventTypes.hpp.
Referenced by From().