|
VoltMod
C++23 framework for CS2 server plugins
|
#include <EventTypes.hpp>
Static Public Member Functions | |
| static PlayerConnect | From (IGameEvent &e) |
Public Attributes | |
| std::string | Name |
| player name | |
| int | Slot = -1 |
| user ID on server (unique on server) | |
| std::string | Networkid |
| player network (i.e steam) id | |
| uint64_t | Xuid = 0 |
| steam id | |
| bool | Bot = false |
Static Public Attributes | |
| static constexpr std::string_view | EventName = "player_connect" |
a new client connected
Definition at line 1405 of file EventTypes.hpp.
|
static |
Definition at line 1330 of file EventTypes.cpp.
References Name, and VoltMod::ReadFile().
Definition at line 1412 of file EventTypes.hpp.
|
staticconstexpr |
Definition at line 1407 of file EventTypes.hpp.
| std::string VoltMod::PlayerConnect::Name |
| std::string VoltMod::PlayerConnect::Networkid |
player network (i.e steam) id
Definition at line 1410 of file EventTypes.hpp.
| int VoltMod::PlayerConnect::Slot = -1 |
user ID on server (unique on server)
Definition at line 1409 of file EventTypes.hpp.
| uint64_t VoltMod::PlayerConnect::Xuid = 0 |
steam id
Definition at line 1411 of file EventTypes.hpp.