|
VoltMod
C++23 framework for CS2 server plugins
|
#include <EventTypes.hpp>
Static Public Member Functions | |
| static PlayerTeam | From (IGameEvent &e) |
Public Attributes | |
| int | Slot = -1 |
| player | |
| VoltMod::Team | Team = VoltMod::Team::None |
| team id | |
| VoltMod::Team | Oldteam = VoltMod::Team::None |
| old team id | |
| bool | Disconnect = false |
| team change because player disconnects | |
| bool | Silent = false |
| bool | Isbot = false |
| true if player is a bot | |
Static Public Attributes | |
| static constexpr std::string_view | EventName = "player_team" |
player change his team
Definition at line 1633 of file EventTypes.hpp.
|
static |
Definition at line 1547 of file EventTypes.cpp.
| bool VoltMod::PlayerTeam::Disconnect = false |
team change because player disconnects
Definition at line 1639 of file EventTypes.hpp.
|
staticconstexpr |
Definition at line 1635 of file EventTypes.hpp.
| bool VoltMod::PlayerTeam::Isbot = false |
true if player is a bot
Definition at line 1641 of file EventTypes.hpp.
| VoltMod::Team VoltMod::PlayerTeam::Oldteam = VoltMod::Team::None |
old team id
Definition at line 1638 of file EventTypes.hpp.
| bool VoltMod::PlayerTeam::Silent = false |
Definition at line 1640 of file EventTypes.hpp.
| int VoltMod::PlayerTeam::Slot = -1 |
player
Definition at line 1636 of file EventTypes.hpp.
| VoltMod::Team VoltMod::PlayerTeam::Team = VoltMod::Team::None |
team id
Definition at line 1637 of file EventTypes.hpp.