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

#include <EventTypes.hpp>

Static Public Member Functions

static TeamInfo From (IGameEvent &e)
 

Public Attributes

int Teamid = 0
 unique team id
 
std::string Teamname
 team name eg "Team Blue"
 

Static Public Attributes

static constexpr std::string_view EventName = "team_info"
 

Detailed Description

info about team

Definition at line 2039 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 1925 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Teamid.

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::TeamInfo::EventName = "team_info"
staticconstexpr

Definition at line 2041 of file EventTypes.hpp.

◆ Teamid

int VoltMod::TeamInfo::Teamid = 0

unique team id

Definition at line 2042 of file EventTypes.hpp.

Referenced by From().

◆ Teamname

std::string VoltMod::TeamInfo::Teamname

team name eg "Team Blue"

Definition at line 2043 of file EventTypes.hpp.


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