Download serverlist only once a day. Delete the current list if the connection to the server fails. #119

This commit is contained in:
lotodore
2012-02-04 20:33:39 +00:00
parent b3239ee0cc
commit 58a0d3fb2e
2 changed files with 39 additions and 17 deletions
+3
View File
@@ -28,6 +28,7 @@
#define CLIENT_FINAL_STATE ClientStateFinal
class ClientThread;
class ClientContext;
class ClientCallback;
class Game;
class NetPacket;
@@ -101,6 +102,8 @@ public:
virtual void HandlePacket(boost::shared_ptr<ClientThread> /*client*/, boost::shared_ptr<NetPacket> /*tmpPacket*/) {}
static std::string GetCacheServerListFileName(const ClientContext &context);
protected:
// Protected constructor - this is a singleton.