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

#include <EventTypes.hpp>

Static Public Member Functions

static RoundStart From (IGameEvent &e)
 

Public Attributes

int Timelimit = 0
 round time limit in seconds
 
int Fraglimit = 0
 frag limit in seconds
 
std::string Objective
 round objective
 

Static Public Attributes

static constexpr std::string_view EventName = "round_start"
 

Detailed Description

Definition at line 1762 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 1661 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Timelimit.

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::RoundStart::EventName = "round_start"
staticconstexpr

Definition at line 1764 of file EventTypes.hpp.

◆ Fraglimit

int VoltMod::RoundStart::Fraglimit = 0

frag limit in seconds

Definition at line 1766 of file EventTypes.hpp.

◆ Objective

std::string VoltMod::RoundStart::Objective

round objective

Definition at line 1767 of file EventTypes.hpp.

◆ Timelimit

int VoltMod::RoundStart::Timelimit = 0

round time limit in seconds

Definition at line 1765 of file EventTypes.hpp.

Referenced by From().


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