|
VoltMod
C++23 framework for CS2 server plugins
|
#include <EventTypes.hpp>
Static Public Member Functions | |
| static PlayerInfo | From (IGameEvent &e) |
Public Attributes | |
| std::string | Name |
| player name | |
| int | Slot = -1 |
| user ID on server (unique on server) | |
| uint64_t | Steamid = 0 |
| player network (i.e steam) id | |
| bool | Bot = false |
| true if player is a AI bot | |
Static Public Attributes | |
| static constexpr std::string_view | EventName = "player_info" |
a player changed his name
Definition at line 1526 of file EventTypes.hpp.
|
static |
Definition at line 1445 of file EventTypes.cpp.
References Name, and VoltMod::ReadFile().
true if player is a AI bot
Definition at line 1532 of file EventTypes.hpp.
|
staticconstexpr |
Definition at line 1528 of file EventTypes.hpp.
| std::string VoltMod::PlayerInfo::Name |
| int VoltMod::PlayerInfo::Slot = -1 |
user ID on server (unique on server)
Definition at line 1530 of file EventTypes.hpp.
| uint64_t VoltMod::PlayerInfo::Steamid = 0 |
player network (i.e steam) id
Definition at line 1531 of file EventTypes.hpp.