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

#include <EventTypes.hpp>

Static Public Member Functions

static MatchEndConditions From (IGameEvent &e)
 

Public Attributes

int Frags = 0
 
int MaxRounds = 0
 
int WinRounds = 0
 
int Time = 0
 

Static Public Attributes

static constexpr std::string_view EventName = "match_end_conditions"
 

Detailed Description

Definition at line 1250 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 1184 of file EventTypes.cpp.

References Frags, and VoltMod::ReadFile().

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::MatchEndConditions::EventName = "match_end_conditions"
staticconstexpr

Definition at line 1252 of file EventTypes.hpp.

◆ Frags

int VoltMod::MatchEndConditions::Frags = 0

Definition at line 1253 of file EventTypes.hpp.

Referenced by From().

◆ MaxRounds

int VoltMod::MatchEndConditions::MaxRounds = 0

Definition at line 1254 of file EventTypes.hpp.

◆ Time

int VoltMod::MatchEndConditions::Time = 0

Definition at line 1256 of file EventTypes.hpp.

◆ WinRounds

int VoltMod::MatchEndConditions::WinRounds = 0

Definition at line 1255 of file EventTypes.hpp.


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