#include <MasterClient.h>
Public Member Functions | |
bool | Connect (char *host, int masterServerPort) |
void | Disconnect (void) |
bool | IsConnected (void) |
void | ConnectionAttemptNotification (char *serverIP, unsigned short serverPort) |
void | ListServer (void) |
void | DelistServer (void) |
void | PostRule (char *ruleIdentifier, char *stringData, int intData) |
void | RemoveRule (char *ruleIdentifier) |
void | AddQueryRule (char *ruleIdentifier) |
void | ClearQueryRules (void) |
void | QueryMasterServer (void) |
void | PingServers (void) |
void | OnLostConnection (void) |
void | OnConnectionAttemptFailed (void) |
void | OnMasterServerFull (void) |
void | OnModifiedPacket (void) |
void | OnGameServerListAddition (GameServer *newServer) |
void | OnGameServerListRuleUpdate (GameServer *updatedServer) |
void | OnGameServerListQueryComplete (void) |
void | OnConnectionRequest (const char *clientIP, unsigned short clientPort) |
Protected Member Functions | |
void | Update (RakPeerInterface *peer) |
bool | OnReceive (RakPeerInterface *peer, Packet *packet) |
void | HandleServerListResponse (Packet *packet, bool overwriteExisting) |
void | HandleRelayedConnectionNotification (Packet *packet) |
Protected Attributes | |
bool | listServer |
bool | serverListed |
bool | localServerModified |
GameServer | localServer |
BitStream | ruleIdentifierList |