|
VoltMod
C++23 framework for CS2 server plugins
|
#include <EventTypes.hpp>
Static Public Member Functions | |
| static SwitchTeam | From (IGameEvent &e) |
Public Attributes | |
| int | NumPlayers = 0 |
| number of active players on both T and CT | |
| int | NumSpectators = 0 |
| number of spectators | |
| int | AvgRank = 0 |
| average rank of human players | |
| int | NumTSlotsFree = 0 |
| int | NumCTSlotsFree = 0 |
Static Public Attributes | |
| static constexpr std::string_view | EventName = "switch_team" |
Definition at line 2016 of file EventTypes.hpp.
|
static |
Definition at line 1903 of file EventTypes.cpp.
References NumPlayers, and VoltMod::ReadFile().
| int VoltMod::SwitchTeam::AvgRank = 0 |
average rank of human players
Definition at line 2021 of file EventTypes.hpp.
|
staticconstexpr |
Definition at line 2018 of file EventTypes.hpp.
| int VoltMod::SwitchTeam::NumCTSlotsFree = 0 |
Definition at line 2023 of file EventTypes.hpp.
| int VoltMod::SwitchTeam::NumPlayers = 0 |
number of active players on both T and CT
Definition at line 2019 of file EventTypes.hpp.
Referenced by From().
| int VoltMod::SwitchTeam::NumSpectators = 0 |
number of spectators
Definition at line 2020 of file EventTypes.hpp.
| int VoltMod::SwitchTeam::NumTSlotsFree = 0 |
Definition at line 2022 of file EventTypes.hpp.