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

#include <EventTypes.hpp>

Static Public Member Functions

static GameStart From (IGameEvent &e)
 

Public Attributes

int Roundslimit = 0
 max round
 
int Timelimit = 0
 time limit
 
int Fraglimit = 0
 frag limit
 
std::string Objective
 round objective
 

Static Public Attributes

static constexpr std::string_view EventName = "game_start"
 

Detailed Description

a new game starts

Definition at line 753 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 714 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Roundslimit.

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::GameStart::EventName = "game_start"
staticconstexpr

Definition at line 755 of file EventTypes.hpp.

◆ Fraglimit

int VoltMod::GameStart::Fraglimit = 0

frag limit

Definition at line 758 of file EventTypes.hpp.

◆ Objective

std::string VoltMod::GameStart::Objective

round objective

Definition at line 759 of file EventTypes.hpp.

◆ Roundslimit

int VoltMod::GameStart::Roundslimit = 0

max round

Definition at line 756 of file EventTypes.hpp.

Referenced by From().

◆ Timelimit

int VoltMod::GameStart::Timelimit = 0

time limit

Definition at line 757 of file EventTypes.hpp.


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