DDraceNetwork Docs
CServer::CClient Class Reference

#include <server.h>

Collaboration diagram for CServer::CClient:
[legend]

Classes

class  CInput
 

Public Types

enum  {
  STATE_EMPTY = 0 , STATE_PREAUTH , STATE_AUTH , STATE_CONNECTING ,
  STATE_READY , STATE_INGAME , STATE_REDIRECTED , SNAPRATE_INIT = 0 ,
  SNAPRATE_FULL , SNAPRATE_RECOVER , DNSBL_STATE_NONE = 0 , DNSBL_STATE_PENDING ,
  DNSBL_STATE_BLACKLISTED , DNSBL_STATE_WHITELISTED
}
 

Public Member Functions

void Reset ()
 
bool IncludedInServerInfo () const
 

Public Attributes

int m_State
 
int m_Latency
 
int m_SnapRate
 
double m_Traffic
 
int64_t m_TrafficSince
 
int m_LastAckedSnapshot
 
int m_LastInputTick
 
CSnapshotStorage m_Snapshots
 
CInput m_LatestInput
 
CInput m_aInputs [200]
 
int m_CurrentInput
 
char m_aName [MAX_NAME_LENGTH]
 
char m_aClan [MAX_CLAN_LENGTH]
 
int m_Country
 
std::optional< int > m_Score
 
int m_Authed
 
int m_AuthKey
 
int m_AuthTries
 
int m_NextMapChunk
 
int m_Flags
 
bool m_ShowIps
 
bool m_DebugDummy
 
const IConsole::CCommandInfom_pRconCmdToSend
 
bool m_HasPersistentData
 
void * m_pPersistentData
 
NETADDR m_Addr
 
bool m_GotDDNetVersionPacket
 
bool m_DDNetVersionSettled
 
int m_DDNetVersion
 
char m_aDDNetVersionStr [64]
 
CUuid m_ConnectionId
 
int64_t m_RedirectDropTime
 
int m_DnsblState
 
std::shared_ptr< CHostLookupm_pDnsblLookup
 
bool m_Sixup
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
STATE_EMPTY 
STATE_PREAUTH 
STATE_AUTH 
STATE_CONNECTING 
STATE_READY 
STATE_INGAME 
STATE_REDIRECTED 
SNAPRATE_INIT 
SNAPRATE_FULL 
SNAPRATE_RECOVER 
DNSBL_STATE_NONE 
DNSBL_STATE_PENDING 
DNSBL_STATE_BLACKLISTED 
DNSBL_STATE_WHITELISTED 

Member Function Documentation

◆ IncludedInServerInfo()

bool CServer::CClient::IncludedInServerInfo ( ) const
inline

◆ Reset()

void CServer::CClient::Reset ( )

Member Data Documentation

◆ m_aClan

char CServer::CClient::m_aClan[MAX_CLAN_LENGTH]

◆ m_aDDNetVersionStr

char CServer::CClient::m_aDDNetVersionStr[64]

◆ m_Addr

NETADDR CServer::CClient::m_Addr

◆ m_aInputs

CInput CServer::CClient::m_aInputs[200]

◆ m_aName

char CServer::CClient::m_aName[MAX_NAME_LENGTH]

◆ m_Authed

int CServer::CClient::m_Authed

◆ m_AuthKey

int CServer::CClient::m_AuthKey

◆ m_AuthTries

int CServer::CClient::m_AuthTries

◆ m_ConnectionId

CUuid CServer::CClient::m_ConnectionId

◆ m_Country

int CServer::CClient::m_Country

◆ m_CurrentInput

int CServer::CClient::m_CurrentInput

◆ m_DDNetVersion

int CServer::CClient::m_DDNetVersion

◆ m_DDNetVersionSettled

bool CServer::CClient::m_DDNetVersionSettled

◆ m_DebugDummy

bool CServer::CClient::m_DebugDummy

◆ m_DnsblState

int CServer::CClient::m_DnsblState

◆ m_Flags

int CServer::CClient::m_Flags

◆ m_GotDDNetVersionPacket

bool CServer::CClient::m_GotDDNetVersionPacket

◆ m_HasPersistentData

bool CServer::CClient::m_HasPersistentData

◆ m_LastAckedSnapshot

int CServer::CClient::m_LastAckedSnapshot

◆ m_LastInputTick

int CServer::CClient::m_LastInputTick

◆ m_Latency

int CServer::CClient::m_Latency

◆ m_LatestInput

CInput CServer::CClient::m_LatestInput

◆ m_NextMapChunk

int CServer::CClient::m_NextMapChunk

◆ m_pDnsblLookup

std::shared_ptr<CHostLookup> CServer::CClient::m_pDnsblLookup

◆ m_pPersistentData

void* CServer::CClient::m_pPersistentData

◆ m_pRconCmdToSend

const IConsole::CCommandInfo* CServer::CClient::m_pRconCmdToSend

◆ m_RedirectDropTime

int64_t CServer::CClient::m_RedirectDropTime

◆ m_Score

std::optional<int> CServer::CClient::m_Score

◆ m_ShowIps

bool CServer::CClient::m_ShowIps

◆ m_Sixup

bool CServer::CClient::m_Sixup

◆ m_SnapRate

int CServer::CClient::m_SnapRate

◆ m_Snapshots

CSnapshotStorage CServer::CClient::m_Snapshots

◆ m_State

int CServer::CClient::m_State

◆ m_Traffic

double CServer::CClient::m_Traffic

◆ m_TrafficSince

int64_t CServer::CClient::m_TrafficSince

The documentation for this class was generated from the following files: