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

#include <EventTypes.hpp>

Static Public Member Functions

static GameEnd From (IGameEvent &e)
 

Public Attributes

int Winner = 0
 winner team/user id
 

Static Public Attributes

static constexpr std::string_view EventName = "game_end"
 

Detailed Description

a game ended

Definition at line 714 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 680 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Winner.

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::GameEnd::EventName = "game_end"
staticconstexpr

Definition at line 716 of file EventTypes.hpp.

◆ Winner

int VoltMod::GameEnd::Winner = 0

winner team/user id

Definition at line 717 of file EventTypes.hpp.

Referenced by From().


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