|
VoltMod
C++23 framework for CS2 server plugins
|
#include <EventTypes.hpp>
Static Public Member Functions | |
| static OpenCrateInstr | From (IGameEvent &e) |
Public Attributes | |
| int | Slot = -1 |
| player entindex | |
| int | Subject = 0 |
| crate entindex | |
| std::string | Type |
| type of crate (metal, wood, or paradrop) | |
Static Public Attributes | |
| static constexpr std::string_view | EventName = "open_crate_instr" |
Definition at line 1312 of file EventTypes.hpp.
|
static |
Definition at line 1241 of file EventTypes.cpp.
References VoltMod::ReadFile(), and Slot.
|
staticconstexpr |
Definition at line 1314 of file EventTypes.hpp.
| int VoltMod::OpenCrateInstr::Slot = -1 |
| int VoltMod::OpenCrateInstr::Subject = 0 |
crate entindex
Definition at line 1316 of file EventTypes.hpp.
| std::string VoltMod::OpenCrateInstr::Type |
type of crate (metal, wood, or paradrop)
Definition at line 1317 of file EventTypes.hpp.