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

#include <EventTypes.hpp>

Static Public Member Functions

static TeamScore From (IGameEvent &e)
 

Public Attributes

int Teamid = 0
 team id
 
int Score = 0
 total team score
 

Static Public Attributes

static constexpr std::string_view EventName = "team_score"
 

Detailed Description

team score changed

Definition at line 2060 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 1943 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Teamid.

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::TeamScore::EventName = "team_score"
staticconstexpr

Definition at line 2062 of file EventTypes.hpp.

◆ Score

int VoltMod::TeamScore::Score = 0

total team score

Definition at line 2064 of file EventTypes.hpp.

◆ Teamid

int VoltMod::TeamScore::Teamid = 0

team id

Definition at line 2063 of file EventTypes.hpp.

Referenced by From().


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