|
VoltMod
C++23 framework for CS2 server plugins
|
#include <EventTypes.hpp>
Static Public Member Functions | |
| static PlayerShoot | From (IGameEvent &e) |
Public Attributes | |
| int | Slot = -1 |
| user ID on server | |
| int | Weapon = 0 |
| weapon ID | |
| int | Mode = 0 |
| weapon mode | |
Static Public Attributes | |
| static constexpr std::string_view | EventName = "player_shoot" |
player shoot his weapon
Definition at line 1590 of file EventTypes.hpp.
|
static |
Definition at line 1506 of file EventTypes.cpp.
References VoltMod::ReadFile(), and Slot.
|
staticconstexpr |
Definition at line 1592 of file EventTypes.hpp.
| int VoltMod::PlayerShoot::Mode = 0 |
weapon mode
Definition at line 1595 of file EventTypes.hpp.
| int VoltMod::PlayerShoot::Slot = -1 |
| int VoltMod::PlayerShoot::Weapon = 0 |
weapon ID
Definition at line 1594 of file EventTypes.hpp.