DDraceNetwork Documentation
Loading...
Searching...
No Matches
CServerInfo2 Class Reference

#include <serverinfo.h>

Collaboration diagram for CServerInfo2:
[legend]

Classes

class  CClient

Public Member Functions

bool operator== (const CServerInfo2 &Other) const
bool operator!= (const CServerInfo2 &Other) const
bool Validate () const
void ToJson (char *pBuffer, int BufferSize) const
 operator CServerInfo () const

Static Public Member Functions

static bool FromJson (CServerInfo2 *pOut, const json_value *pJson)
static bool FromJsonRaw (CServerInfo2 *pOut, const json_value *pJson)

Public Attributes

CClient m_aClients [SERVERINFO_MAX_CLIENTS]
int m_MaxClients
int m_NumClients
int m_MaxPlayers
int m_NumPlayers
CServerInfo::EClientScoreKind m_ClientScoreKind
bool m_Passworded
char m_aGameType [16]
char m_aName [64]
char m_aMapName [MAX_MAP_LENGTH]
char m_aVersion [32]
bool m_RequiresLogin

Member Function Documentation

◆ FromJson()

bool CServerInfo2::FromJson ( CServerInfo2 * pOut,
const json_value * pJson )
static

◆ FromJsonRaw()

bool CServerInfo2::FromJsonRaw ( CServerInfo2 * pOut,
const json_value * pJson )
static

◆ operator CServerInfo()

CServerInfo2::operator CServerInfo ( ) const

◆ operator!=()

bool CServerInfo2::operator!= ( const CServerInfo2 & Other) const
inline

◆ operator==()

bool CServerInfo2::operator== ( const CServerInfo2 & Other) const

◆ ToJson()

void CServerInfo2::ToJson ( char * pBuffer,
int BufferSize ) const

◆ Validate()

bool CServerInfo2::Validate ( ) const

Member Data Documentation

◆ m_aClients

CClient CServerInfo2::m_aClients[SERVERINFO_MAX_CLIENTS]

◆ m_aGameType

char CServerInfo2::m_aGameType[16]

◆ m_aMapName

char CServerInfo2::m_aMapName[MAX_MAP_LENGTH]

◆ m_aName

char CServerInfo2::m_aName[64]

◆ m_aVersion

char CServerInfo2::m_aVersion[32]

◆ m_ClientScoreKind

CServerInfo::EClientScoreKind CServerInfo2::m_ClientScoreKind

◆ m_MaxClients

int CServerInfo2::m_MaxClients

◆ m_MaxPlayers

int CServerInfo2::m_MaxPlayers

◆ m_NumClients

int CServerInfo2::m_NumClients

◆ m_NumPlayers

int CServerInfo2::m_NumPlayers

◆ m_Passworded

bool CServerInfo2::m_Passworded

◆ m_RequiresLogin

bool CServerInfo2::m_RequiresLogin

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