|
VoltMod
C++23 framework for CS2 server plugins
|
#include <EventTypes.hpp>
Static Public Member Functions | |
| static AmmoPickup | 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 | Index = 0 |
| the weapon entindex | |
Static Public Attributes | |
| static constexpr std::string_view | EventName = "ammo_pickup" |
Definition at line 85 of file EventTypes.hpp.
|
static |
Definition at line 87 of file EventTypes.cpp.
References VoltMod::ReadFile(), and Slot.
|
staticconstexpr |
Definition at line 87 of file EventTypes.hpp.
| int VoltMod::AmmoPickup::Index = 0 |
the weapon entindex
Definition at line 90 of file EventTypes.hpp.
| std::string VoltMod::AmmoPickup::Item |
either a weapon such as 'tmp' or 'hegrenade', or an item such as 'nvgs'
Definition at line 89 of file EventTypes.hpp.
| int VoltMod::AmmoPickup::Slot = -1 |
Definition at line 88 of file EventTypes.hpp.
Referenced by From().