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
+8
View File
@@ -425,6 +425,14 @@ bool Session::isNetworkServerRunning() const
return myNetServer != NULL;
}
ServerInfo Session::getClientServerInfo(unsigned serverId) const
{
ServerInfo info;
if (myNetClient)
info = myNetClient->GetServerInfo(serverId);
return info;
}
GameInfo Session::getClientGameInfo(unsigned playerId) const
{
GameInfo info;