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

#include <EventTypes.hpp>

Static Public Member Functions

static InspectWeapon From (IGameEvent &e)
 

Public Attributes

int Slot = -1
 

Static Public Attributes

static constexpr std::string_view EventName = "inspect_weapon"
 

Detailed Description

Definition at line 1056 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 1001 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Slot.

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::InspectWeapon::EventName = "inspect_weapon"
staticconstexpr

Definition at line 1058 of file EventTypes.hpp.

◆ Slot

int VoltMod::InspectWeapon::Slot = -1

Definition at line 1059 of file EventTypes.hpp.

Referenced by From().


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