|
VoltMod
C++23 framework for CS2 server plugins
|
#include <EventTypes.hpp>
Static Public Member Functions | |
| static PlayerDisconnect | From (IGameEvent &e) |
Public Attributes | |
| int | Slot = -1 |
| user ID on server | |
| int | Reason = 0 |
| see networkdisconnect enum protobuf | |
| std::string | Name |
| player name | |
| std::string | Networkid |
| player network (i.e steam) id | |
| uint64_t | Xuid = 0 |
| steam id | |
| int | PlayerID = 0 |
| bool | EverFullyConnected = false |
| Was the player ever fully connected? | |
Static Public Attributes | |
| static constexpr std::string_view | EventName = "player_disconnect" |
a client was disconnected
Definition at line 1461 of file EventTypes.hpp.
|
static |
Definition at line 1381 of file EventTypes.cpp.
References VoltMod::ReadFile(), and Slot.
|
staticconstexpr |
Definition at line 1463 of file EventTypes.hpp.
Was the player ever fully connected?
Definition at line 1470 of file EventTypes.hpp.
| std::string VoltMod::PlayerDisconnect::Name |
player name
Definition at line 1466 of file EventTypes.hpp.
| std::string VoltMod::PlayerDisconnect::Networkid |
player network (i.e steam) id
Definition at line 1467 of file EventTypes.hpp.
| int VoltMod::PlayerDisconnect::PlayerID = 0 |
Definition at line 1469 of file EventTypes.hpp.
| int VoltMod::PlayerDisconnect::Reason = 0 |
see networkdisconnect enum protobuf
Definition at line 1465 of file EventTypes.hpp.
| int VoltMod::PlayerDisconnect::Slot = -1 |
| uint64_t VoltMod::PlayerDisconnect::Xuid = 0 |
steam id
Definition at line 1468 of file EventTypes.hpp.