Game list in Lobby is now shown and updated even after joining or creating a game. Game updates will be sent by the server at all times (even during the game).
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
#include <playerdata.h>
|
||||
#include <core/thread.h>
|
||||
|
||||
#include <boost/function.hpp>
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
||||
@@ -62,6 +63,8 @@ public:
|
||||
bool IsPlayerConnected(const std::string &playerName) const;
|
||||
bool IsPlayerConnected(unsigned uniqueId) const;
|
||||
|
||||
void ForEach(boost::function<void (SessionWrapper)> func);
|
||||
|
||||
void Clear();
|
||||
unsigned GetRawSessionCount();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user