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

#include <EventTypes.hpp>

Static Public Member Functions

static GamePhaseChanged From (IGameEvent &e)
 

Public Attributes

int NewPhase = 0
 

Static Public Attributes

static constexpr std::string_view EventName = "game_phase_changed"
 

Detailed Description

Definition at line 745 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 707 of file EventTypes.cpp.

References NewPhase, and VoltMod::ReadFile().

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::GamePhaseChanged::EventName = "game_phase_changed"
staticconstexpr

Definition at line 747 of file EventTypes.hpp.

◆ NewPhase

int VoltMod::GamePhaseChanged::NewPhase = 0

Definition at line 748 of file EventTypes.hpp.

Referenced by From().


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