Adding stuff for server list (choosing a server). Might not compile (untested yet).
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user