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

#include <EventTypes.hpp>

Static Public Member Functions

static ServerCvar From (IGameEvent &e)
 

Public Attributes

std::string Cvarname
 cvar name, eg "mp_roundtime"
 
std::string Cvarvalue
 new cvar value
 

Static Public Attributes

static constexpr std::string_view EventName = "server_cvar"
 

Detailed Description

a server console var has changed

Definition at line 1799 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 1694 of file EventTypes.cpp.

References Cvarname, and VoltMod::ReadFile().

Member Data Documentation

◆ Cvarname

std::string VoltMod::ServerCvar::Cvarname

cvar name, eg "mp_roundtime"

Definition at line 1802 of file EventTypes.hpp.

Referenced by From().

◆ Cvarvalue

std::string VoltMod::ServerCvar::Cvarvalue

new cvar value

Definition at line 1803 of file EventTypes.hpp.

◆ EventName

constexpr std::string_view VoltMod::ServerCvar::EventName = "server_cvar"
staticconstexpr

Definition at line 1801 of file EventTypes.hpp.


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