The client now downloads a zipped server list file from pokerth.net. This is parsed and the first server entry is used for now. Error handling still missing. boost::iostreams now required.

This commit is contained in:
lotodore
2008-04-19 11:48:09 +00:00
parent 17a7a19298
commit 7a157b682a
10 changed files with 380 additions and 11 deletions
+4 -1
View File
@@ -55,7 +55,8 @@ public:
bool sctp,
const std::string &pwd,
const std::string &playerName,
const std::string &avatarFile);
const std::string &avatarFile,
const std::string &cacheDir);
void SendKickPlayer(unsigned playerId);
void SendLeaveCurrentGame();
@@ -196,6 +197,8 @@ friend class AbstractClientStateReceiving;
friend class ClientStateInit;
friend class ClientStateStartResolve;
friend class ClientStateResolving;
friend class ClientStateStartServerListDownload;
friend class ClientStateDownloadingServerList;
friend class ClientStateStartConnect;
friend class ClientStateConnecting;
friend class ClientStateStartSession;