Inherits ThreadClass.
|
| | PeerThreadClass () |
| |
| void | Thread_Function () |
| |
| void | markAsDisconnected (void) |
| |
| void | connectCallback (PEER peer, PEERBool success) |
| |
| void | nickErrorCallback (PEER peer, Int type, const char *nick) |
| |
| Bool | isConnecting (void) |
| |
| Bool | isConnected (void) |
| |
| Int | addServerToMap (SBServer server) |
| |
| Int | removeServerFromMap (SBServer server) |
| |
| void | clearServers (void) |
| |
| SBServer | findServerByID (Int id) |
| |
| Int | findServer (SBServer server) |
| |
| Bool | isHosting (void) |
| |
| void | stopHostingAlready (PEER peer) |
| |
| Bool | hasPassword (void) |
| |
| Bool | allowObservers (void) |
| |
| Bool | useStats (void) const |
| |
| std::string | getMapName (void) |
| |
| UnsignedInt | exeCRC (void) |
| |
| UnsignedInt | iniCRC (void) |
| |
| UnsignedInt | gameVersion (void) |
| |
| std::wstring | getLocalStagingServerName (void) |
| |
| Int | getLocalRoomID (void) |
| |
| std::string | ladderIP (void) |
| |
| UnsignedShort | ladderPort (void) |
| |
| std::string | pingStr (void) |
| |
| std::string | getPlayerName (Int idx) |
| |
| Int | getPlayerWins (Int idx) |
| |
| Int | getPlayerLosses (Int idx) |
| |
| Int | getPlayerProfileID (Int idx) |
| |
| Int | getPlayerFaction (Int idx) |
| |
| Int | getPlayerColor (Int idx) |
| |
| Int | getNumPlayers (void) |
| |
| Int | getMaxPlayers (void) |
| |
| Int | getNumObservers (void) |
| |
| void | roomJoined (Bool val) |
| |
| void | setQMGroupRoom (Int groupID) |
| |
| void | sawEndOfEnumPlayers (void) |
| |
| void | sawMatchbot (std::string bot) |
| |
| QMStatus | getQMStatus (void) |
| |
| void | handleQMMatch (PEER peer, Int mapIndex, Int seed, char *playerName[MAX_SLOTS], char *playerIP[MAX_SLOTS], char *playerSide[MAX_SLOTS], char *playerColor[MAX_SLOTS], char *playerNAT[MAX_SLOTS]) |
| |
| std::string | getQMBotName (void) |
| |
| Int | getQMGroupRoom (void) |
| |
| Int | getQMLadder (void) |
| |
| Int | getCurrentGroupRoom (void) |
| |
| void | pushStatsToRoom (PEER peer) |
| |
| void | getStatsFromRoom (PEER peer, RoomType roomType) |
| |
| void | trackStatsForPlayer (RoomType roomType, const char *nick, const char *key, const char *val) |
| |
| int | lookupStatForPlayer (RoomType roomType, const char *nick, const char *key) |
| |
| void | clearPlayerStats (RoomType roomType) |
| |
| void | setSawCompleteGameList (Bool val) |
| |
| Bool | getSawCompleteGameList () |
| |
| | ThreadClass (const char *name=NULL, ExceptionHandlerType exception_handler=NULL) |
| |
| virtual | ~ThreadClass () |
| |
| void | Execute () |
| |
| void | Set_Priority (int priority) |
| |
| void | Stop (unsigned ms=3000) |
| |
| bool | Is_Running () |
| |
| const char * | Get_Name (void) |
| |
Definition at line 185 of file PeerThread.cpp.
◆ PeerThreadClass()
| PeerThreadClass::PeerThreadClass |
( |
| ) |
|
|
inline |
◆ addServerToMap()
| Int PeerThreadClass::addServerToMap |
( |
SBServer | server | ) |
|
◆ allowObservers()
| Bool PeerThreadClass::allowObservers |
( |
void | | ) |
|
|
inline |
◆ clearPlayerStats()
| void PeerThreadClass::clearPlayerStats |
( |
RoomType | roomType | ) |
|
◆ clearServers()
| void PeerThreadClass::clearServers |
( |
void | | ) |
|
◆ connectCallback()
| void PeerThreadClass::connectCallback |
( |
PEER | peer, |
|
|
PEERBool | success ) |
◆ exeCRC()
◆ findServer()
| Int PeerThreadClass::findServer |
( |
SBServer | server | ) |
|
◆ findServerByID()
| SBServer PeerThreadClass::findServerByID |
( |
Int | id | ) |
|
◆ gameVersion()
◆ getCurrentGroupRoom()
| Int PeerThreadClass::getCurrentGroupRoom |
( |
void | | ) |
|
|
inline |
◆ getLocalRoomID()
| Int PeerThreadClass::getLocalRoomID |
( |
void | | ) |
|
|
inline |
◆ getLocalStagingServerName()
| std::wstring PeerThreadClass::getLocalStagingServerName |
( |
void | | ) |
|
|
inline |
◆ getMapName()
| std::string PeerThreadClass::getMapName |
( |
void | | ) |
|
|
inline |
◆ getMaxPlayers()
| Int PeerThreadClass::getMaxPlayers |
( |
void | | ) |
|
|
inline |
◆ getNumObservers()
| Int PeerThreadClass::getNumObservers |
( |
void | | ) |
|
|
inline |
◆ getNumPlayers()
| Int PeerThreadClass::getNumPlayers |
( |
void | | ) |
|
|
inline |
◆ getPlayerColor()
| Int PeerThreadClass::getPlayerColor |
( |
Int | idx | ) |
|
|
inline |
◆ getPlayerFaction()
| Int PeerThreadClass::getPlayerFaction |
( |
Int | idx | ) |
|
|
inline |
◆ getPlayerLosses()
| Int PeerThreadClass::getPlayerLosses |
( |
Int | idx | ) |
|
|
inline |
◆ getPlayerName()
| std::string PeerThreadClass::getPlayerName |
( |
Int | idx | ) |
|
|
inline |
◆ getPlayerProfileID()
| Int PeerThreadClass::getPlayerProfileID |
( |
Int | idx | ) |
|
|
inline |
◆ getPlayerWins()
| Int PeerThreadClass::getPlayerWins |
( |
Int | idx | ) |
|
|
inline |
◆ getQMBotName()
| std::string PeerThreadClass::getQMBotName |
( |
void | | ) |
|
|
inline |
◆ getQMGroupRoom()
| Int PeerThreadClass::getQMGroupRoom |
( |
void | | ) |
|
|
inline |
◆ getQMLadder()
| Int PeerThreadClass::getQMLadder |
( |
void | | ) |
|
|
inline |
◆ getQMStatus()
| QMStatus PeerThreadClass::getQMStatus |
( |
void | | ) |
|
|
inline |
◆ getSawCompleteGameList()
| Bool PeerThreadClass::getSawCompleteGameList |
( |
| ) |
|
|
inline |
◆ getStatsFromRoom()
| void PeerThreadClass::getStatsFromRoom |
( |
PEER | peer, |
|
|
RoomType | roomType ) |
◆ handleQMMatch()
| void PeerThreadClass::handleQMMatch |
( |
PEER | peer, |
|
|
Int | mapIndex, |
|
|
Int | seed, |
|
|
char * | playerName[MAX_SLOTS], |
|
|
char * | playerIP[MAX_SLOTS], |
|
|
char * | playerSide[MAX_SLOTS], |
|
|
char * | playerColor[MAX_SLOTS], |
|
|
char * | playerNAT[MAX_SLOTS] ) |
◆ hasPassword()
| Bool PeerThreadClass::hasPassword |
( |
void | | ) |
|
|
inline |
◆ iniCRC()
◆ isConnected()
| Bool PeerThreadClass::isConnected |
( |
void | | ) |
|
|
inline |
◆ isConnecting()
| Bool PeerThreadClass::isConnecting |
( |
void | | ) |
|
|
inline |
◆ isHosting()
| Bool PeerThreadClass::isHosting |
( |
void | | ) |
|
|
inline |
◆ ladderIP()
| std::string PeerThreadClass::ladderIP |
( |
void | | ) |
|
|
inline |
◆ ladderPort()
◆ lookupStatForPlayer()
| int PeerThreadClass::lookupStatForPlayer |
( |
RoomType | roomType, |
|
|
const char * | nick, |
|
|
const char * | key ) |
◆ markAsDisconnected()
| void PeerThreadClass::markAsDisconnected |
( |
void | | ) |
|
|
inline |
◆ nickErrorCallback()
| void PeerThreadClass::nickErrorCallback |
( |
PEER | peer, |
|
|
Int | type, |
|
|
const char * | nick ) |
◆ pingStr()
| std::string PeerThreadClass::pingStr |
( |
void | | ) |
|
|
inline |
◆ pushStatsToRoom()
| void PeerThreadClass::pushStatsToRoom |
( |
PEER | peer | ) |
|
◆ removeServerFromMap()
| Int PeerThreadClass::removeServerFromMap |
( |
SBServer | server | ) |
|
◆ roomJoined()
| void PeerThreadClass::roomJoined |
( |
Bool | val | ) |
|
|
inline |
◆ sawEndOfEnumPlayers()
| void PeerThreadClass::sawEndOfEnumPlayers |
( |
void | | ) |
|
|
inline |
◆ sawMatchbot()
| void PeerThreadClass::sawMatchbot |
( |
std::string | bot | ) |
|
|
inline |
◆ setQMGroupRoom()
| void PeerThreadClass::setQMGroupRoom |
( |
Int | groupID | ) |
|
|
inline |
◆ setSawCompleteGameList()
| void PeerThreadClass::setSawCompleteGameList |
( |
Bool | val | ) |
|
|
inline |
◆ stopHostingAlready()
| void PeerThreadClass::stopHostingAlready |
( |
PEER | peer | ) |
|
◆ Thread_Function()
| void PeerThreadClass::Thread_Function |
( |
void | | ) |
|
|
virtual |
gameName[0]='c';gameName[1]='c';gameName[2]='g';gameName[3]='e'; gameName[4]='n';gameName[5]='e';gameName[6]='r';gameName[7]='a'; gameName[8]='l';gameName[9]='s';gameName[10]='b';gameName[11]='\0'; secretKey[0]='g';secretKey[1]='3';secretKey[2]='T';secretKey[3]='9'; secretKey[4]='s';secretKey[5]='2';secretKey[6]='\0'; /*
Implements ThreadClass.
Definition at line 1168 of file PeerThread.cpp.
◆ trackStatsForPlayer()
| void PeerThreadClass::trackStatsForPlayer |
( |
RoomType | roomType, |
|
|
const char * | nick, |
|
|
const char * | key, |
|
|
const char * | val ) |
◆ useStats()
| Bool PeerThreadClass::useStats |
( |
void | | ) |
const |
|
inline |
The documentation for this class was generated from the following file: