Adding stuff for server list (choosing a server). Might not compile (untested yet).

This commit is contained in:
lotodore
2009-04-05 11:19:50 +00:00
parent 725d71e154
commit 009249e41a
6 changed files with 162 additions and 19 deletions
+2
View File
@@ -19,6 +19,7 @@
***************************************************************************/
#ifndef STDSESSION_H
#define STDSESSION_H
#include "serverdata.h"
#include "gamedata.h"
#include "playerdata.h"
#include "game_defs.h"
@@ -88,6 +89,7 @@ public:
bool isNetworkClientRunning() const; // TODO hack
bool isNetworkServerRunning() const; // TODO hack
ServerInfo getClientServerInfo(unsigned serverId) const;
GameInfo getClientGameInfo(unsigned gameId) const;
PlayerInfo getClientPlayerInfo(unsigned playerId) const;
ServerStats getClientStats() const;