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

#include <EventTypes.hpp>

Static Public Member Functions

static WeaponZoom From (IGameEvent &e)
 

Public Attributes

int Slot = -1
 

Static Public Attributes

static constexpr std::string_view EventName = "weapon_zoom"
 

Detailed Description

Definition at line 2285 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 2161 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Slot.

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::WeaponZoom::EventName = "weapon_zoom"
staticconstexpr

Definition at line 2287 of file EventTypes.hpp.

◆ Slot

int VoltMod::WeaponZoom::Slot = -1

Definition at line 2288 of file EventTypes.hpp.

Referenced by From().


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