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

#include <EventTypes.hpp>

Static Public Member Functions

static TeamchangePending From (IGameEvent &e)
 

Public Attributes

int Slot = -1
 
int Toteam = 0
 

Static Public Attributes

static constexpr std::string_view EventName = "teamchange_pending"
 

Detailed Description

Definition at line 2068 of file EventTypes.hpp.

Member Function Documentation

◆ From()

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

Definition at line 1951 of file EventTypes.cpp.

References VoltMod::ReadFile(), and Slot.

Member Data Documentation

◆ EventName

constexpr std::string_view VoltMod::TeamchangePending::EventName = "teamchange_pending"
staticconstexpr

Definition at line 2070 of file EventTypes.hpp.

◆ Slot

int VoltMod::TeamchangePending::Slot = -1

Definition at line 2071 of file EventTypes.hpp.

Referenced by From().

◆ Toteam

int VoltMod::TeamchangePending::Toteam = 0

Definition at line 2072 of file EventTypes.hpp.


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