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

#include <EventTypes.hpp>

Static Public Member Functions

static DifficultyChanged From (IGameEvent &e)
 

Public Attributes

int NewDifficulty = 0
 
int OldDifficulty = 0
 
std::string StrDifficulty
 new difficulty as string
 

Static Public Attributes

static constexpr std::string_view EventName = "difficulty_changed"
 

Detailed Description

Definition at line 466 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 441 of file EventTypes.cpp.

References NewDifficulty, and VoltMod::ReadFile().

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::DifficultyChanged::EventName = "difficulty_changed"
staticconstexpr

Definition at line 468 of file EventTypes.hpp.

◆ NewDifficulty

int VoltMod::DifficultyChanged::NewDifficulty = 0

Definition at line 469 of file EventTypes.hpp.

Referenced by From().

◆ OldDifficulty

int VoltMod::DifficultyChanged::OldDifficulty = 0

Definition at line 470 of file EventTypes.hpp.

◆ StrDifficulty

std::string VoltMod::DifficultyChanged::StrDifficulty

new difficulty as string

Definition at line 471 of file EventTypes.hpp.


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