VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
VoltMod::WeaponReload Struct Reference

#include <EventTypes.hpp>

Static Public Member Functions

static WeaponReload From (IGameEvent &e)
 

Public Attributes

int Slot = -1
 

Static Public Attributes

static constexpr std::string_view EventName = "weapon_reload"
 

Detailed Description

Definition at line 2278 of file EventTypes.hpp.

Member Function Documentation

◆ From()

WeaponReload VoltMod::WeaponReload::From ( IGameEvent &  e)
static

Definition at line 2154 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Slot.

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::WeaponReload::EventName = "weapon_reload"
staticconstexpr

Definition at line 2280 of file EventTypes.hpp.

◆ Slot

int VoltMod::WeaponReload::Slot = -1

Definition at line 2281 of file EventTypes.hpp.

Referenced by From().


The documentation for this struct was generated from the following files: