Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
GameSpyConfig Class Reference

Inherits GameSpyConfigInterface.

Public Member Functions

 GameSpyConfig (AsciiString config)
 
 ~GameSpyConfig ()
 
std::list< AsciiStringgetPingServers (void)
 
Int getNumPingRepetitions (void)
 
Int getPingTimeoutInMs (void)
 
virtual Int getPingCutoffGood (void)
 
virtual Int getPingCutoffBad (void)
 
std::list< AsciiStringgetQMMaps (void)
 
Int getQMBotID (void)
 
Int getQMChannel (void)
 
void setQMChannel (Int channel)
 
Int getPointsForRank (Int rank)
 
virtual Bool isPlayerVIP (Int id)
 
virtual Bool getManglerLocation (Int index, AsciiString &host, UnsignedShort &port)
 
AsciiString getLeftoverConfig (void)
 
virtual Int getTimeBetweenRetries ()
 
virtual Int getMaxManglerRetries ()
 
virtual time_t getRetryInterval ()
 
virtual time_t getKeepaliveInterval ()
 
virtual time_t getPortTimeout ()
 
virtual time_t getRoundTimeout ()
 
virtual Bool restrictGamesToLobby ()
 
- Public Member Functions inherited from GameSpyConfigInterface
virtual ~GameSpyConfigInterface ()
 

Protected Attributes

std::list< AsciiStringm_pingServers
 
Int m_pingReps
 
Int m_pingTimeout
 
Int m_pingCutoffGood
 
Int m_pingCutoffBad
 
Int m_natRetryInterval
 
Int m_natMaxManglerRetries
 
time_t m_natManglerRetryInterval
 
time_t m_natKeepaliveInterval
 
time_t m_natPortTimeout
 
time_t m_natRoundTimeout
 
std::vector< AsciiStringm_manglerHosts
 
std::vector< UnsignedShortm_manglerPorts
 
std::list< AsciiStringm_qmMaps
 
Int m_qmBotID
 
Int m_qmChannel
 
Bool m_restrictGamesToLobby
 
std::set< Intm_vip
 
Int m_rankPoints [MAX_RANKS]
 
AsciiString m_leftoverConfig
 

Additional Inherited Members

- Static Public Member Functions inherited from GameSpyConfigInterface
static GameSpyConfigInterfacecreate (AsciiString config)
 

Detailed Description

Definition at line 49 of file GSConfig.cpp.

Constructor & Destructor Documentation

◆ GameSpyConfig()

GameSpyConfig::GameSpyConfig ( AsciiString config)

Definition at line 147 of file GSConfig.cpp.

◆ ~GameSpyConfig()

GameSpyConfig::~GameSpyConfig ( )
inline

Definition at line 53 of file GSConfig.cpp.

Member Function Documentation

◆ getKeepaliveInterval()

virtual time_t GameSpyConfig::getKeepaliveInterval ( )
inlinevirtual

Definition at line 81 of file GSConfig.cpp.

◆ getLeftoverConfig()

AsciiString GameSpyConfig::getLeftoverConfig ( void )
inlinevirtual

Implements GameSpyConfigInterface.

Definition at line 75 of file GSConfig.cpp.

◆ getManglerLocation()

Bool GameSpyConfig::getManglerLocation ( Int index,
AsciiString & host,
UnsignedShort & port )
virtual

Implements GameSpyConfigInterface.

Definition at line 459 of file GSConfig.cpp.

◆ getMaxManglerRetries()

virtual Int GameSpyConfig::getMaxManglerRetries ( )
inlinevirtual

Definition at line 79 of file GSConfig.cpp.

◆ getNumPingRepetitions()

Int GameSpyConfig::getNumPingRepetitions ( void )
inlinevirtual

Implements GameSpyConfigInterface.

Definition at line 57 of file GSConfig.cpp.

◆ getPingCutoffBad()

virtual Int GameSpyConfig::getPingCutoffBad ( void )
inlinevirtual

Implements GameSpyConfigInterface.

Definition at line 60 of file GSConfig.cpp.

◆ getPingCutoffGood()

virtual Int GameSpyConfig::getPingCutoffGood ( void )
inlinevirtual

Implements GameSpyConfigInterface.

Definition at line 59 of file GSConfig.cpp.

◆ getPingServers()

std::list< AsciiString > GameSpyConfig::getPingServers ( void )
inlinevirtual

Implements GameSpyConfigInterface.

Definition at line 56 of file GSConfig.cpp.

◆ getPingTimeoutInMs()

Int GameSpyConfig::getPingTimeoutInMs ( void )
inlinevirtual

Implements GameSpyConfigInterface.

Definition at line 58 of file GSConfig.cpp.

◆ getPointsForRank()

Int GameSpyConfig::getPointsForRank ( Int rank)
virtual

Implements GameSpyConfigInterface.

Definition at line 450 of file GSConfig.cpp.

◆ getPortTimeout()

virtual time_t GameSpyConfig::getPortTimeout ( )
inlinevirtual

Definition at line 82 of file GSConfig.cpp.

◆ getQMBotID()

Int GameSpyConfig::getQMBotID ( void )
inlinevirtual

Implements GameSpyConfigInterface.

Definition at line 64 of file GSConfig.cpp.

◆ getQMChannel()

Int GameSpyConfig::getQMChannel ( void )
inlinevirtual

Implements GameSpyConfigInterface.

Definition at line 65 of file GSConfig.cpp.

◆ getQMMaps()

std::list< AsciiString > GameSpyConfig::getQMMaps ( void )
inlinevirtual

Implements GameSpyConfigInterface.

Definition at line 63 of file GSConfig.cpp.

◆ getRetryInterval()

virtual time_t GameSpyConfig::getRetryInterval ( )
inlinevirtual

Definition at line 80 of file GSConfig.cpp.

◆ getRoundTimeout()

virtual time_t GameSpyConfig::getRoundTimeout ( )
inlinevirtual

Definition at line 83 of file GSConfig.cpp.

◆ getTimeBetweenRetries()

virtual Int GameSpyConfig::getTimeBetweenRetries ( )
inlinevirtual

Definition at line 78 of file GSConfig.cpp.

◆ isPlayerVIP()

Bool GameSpyConfig::isPlayerVIP ( Int id)
virtual

Implements GameSpyConfigInterface.

Definition at line 473 of file GSConfig.cpp.

◆ restrictGamesToLobby()

virtual Bool GameSpyConfig::restrictGamesToLobby ( )
inlinevirtual

Implements GameSpyConfigInterface.

Definition at line 86 of file GSConfig.cpp.

◆ setQMChannel()

void GameSpyConfig::setQMChannel ( Int channel)
inlinevirtual

Implements GameSpyConfigInterface.

Definition at line 66 of file GSConfig.cpp.

Member Data Documentation

◆ m_leftoverConfig

AsciiString GameSpyConfig::m_leftoverConfig
protected

Definition at line 115 of file GSConfig.cpp.

◆ m_manglerHosts

std::vector<AsciiString> GameSpyConfig::m_manglerHosts
protected

Definition at line 102 of file GSConfig.cpp.

◆ m_manglerPorts

std::vector<UnsignedShort> GameSpyConfig::m_manglerPorts
protected

Definition at line 103 of file GSConfig.cpp.

◆ m_natKeepaliveInterval

time_t GameSpyConfig::m_natKeepaliveInterval
protected

Definition at line 98 of file GSConfig.cpp.

◆ m_natManglerRetryInterval

time_t GameSpyConfig::m_natManglerRetryInterval
protected

Definition at line 97 of file GSConfig.cpp.

◆ m_natMaxManglerRetries

Int GameSpyConfig::m_natMaxManglerRetries
protected

Definition at line 96 of file GSConfig.cpp.

◆ m_natPortTimeout

time_t GameSpyConfig::m_natPortTimeout
protected

Definition at line 99 of file GSConfig.cpp.

◆ m_natRetryInterval

Int GameSpyConfig::m_natRetryInterval
protected

Definition at line 95 of file GSConfig.cpp.

◆ m_natRoundTimeout

time_t GameSpyConfig::m_natRoundTimeout
protected

Definition at line 100 of file GSConfig.cpp.

◆ m_pingCutoffBad

Int GameSpyConfig::m_pingCutoffBad
protected

Definition at line 93 of file GSConfig.cpp.

◆ m_pingCutoffGood

Int GameSpyConfig::m_pingCutoffGood
protected

Definition at line 92 of file GSConfig.cpp.

◆ m_pingReps

Int GameSpyConfig::m_pingReps
protected

Definition at line 90 of file GSConfig.cpp.

◆ m_pingServers

std::list<AsciiString> GameSpyConfig::m_pingServers
protected

Definition at line 89 of file GSConfig.cpp.

◆ m_pingTimeout

Int GameSpyConfig::m_pingTimeout
protected

Definition at line 91 of file GSConfig.cpp.

◆ m_qmBotID

Int GameSpyConfig::m_qmBotID
protected

Definition at line 106 of file GSConfig.cpp.

◆ m_qmChannel

Int GameSpyConfig::m_qmChannel
protected

Definition at line 107 of file GSConfig.cpp.

◆ m_qmMaps

std::list<AsciiString> GameSpyConfig::m_qmMaps
protected

Definition at line 105 of file GSConfig.cpp.

◆ m_rankPoints

Int GameSpyConfig::m_rankPoints[MAX_RANKS]
protected

Definition at line 113 of file GSConfig.cpp.

◆ m_restrictGamesToLobby

Bool GameSpyConfig::m_restrictGamesToLobby
protected

Definition at line 109 of file GSConfig.cpp.

◆ m_vip

std::set<Int> GameSpyConfig::m_vip
protected

Definition at line 111 of file GSConfig.cpp.


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