VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
VoltMod::ConnectRequest Struct Reference

#include <PlayerManager.hpp>

Public Attributes

int Slot = -1
 
int64_t SteamId = 0
 
std::string_view Name
 
bool Rejected = false
 
std::string Reason
 

Detailed Description

A player asking to join. Set Rejected to refuse them; they see Reason.

Definition at line 19 of file PlayerManager.hpp.

Member Data Documentation

◆ Name

std::string_view VoltMod::ConnectRequest::Name

Definition at line 23 of file PlayerManager.hpp.

◆ Reason

std::string VoltMod::ConnectRequest::Reason

Definition at line 25 of file PlayerManager.hpp.

◆ Rejected

bool VoltMod::ConnectRequest::Rejected = false

Definition at line 24 of file PlayerManager.hpp.

◆ Slot

int VoltMod::ConnectRequest::Slot = -1

Definition at line 21 of file PlayerManager.hpp.

◆ SteamId

int64_t VoltMod::ConnectRequest::SteamId = 0

Definition at line 22 of file PlayerManager.hpp.


The documentation for this struct was generated from the following file: