Download serverlist only once a day. Delete the current list if the connection to the server fails. #119
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user