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

#include <EventTypes.hpp>

Static Public Member Functions

static HltvChangedMode From (IGameEvent &e)
 

Public Attributes

int Oldmode = 0
 
int Newmode = 0
 
int ObsTarget = 0
 

Static Public Attributes

static constexpr std::string_view EventName = "hltv_changed_mode"
 

Detailed Description

Definition at line 850 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 803 of file EventTypes.cpp.

References Oldmode, and VoltMod::ReadFile().

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::HltvChangedMode::EventName = "hltv_changed_mode"
staticconstexpr

Definition at line 852 of file EventTypes.hpp.

◆ Newmode

int VoltMod::HltvChangedMode::Newmode = 0

Definition at line 854 of file EventTypes.hpp.

◆ ObsTarget

int VoltMod::HltvChangedMode::ObsTarget = 0

Definition at line 855 of file EventTypes.hpp.

◆ Oldmode

int VoltMod::HltvChangedMode::Oldmode = 0

Definition at line 853 of file EventTypes.hpp.

Referenced by From().


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