public void OnClientDisconnected(Server server, NetConnection connection)
 {
     MultiplayerLobbyScreen lobbyScreen = FindLobbyScreen();
     lobbyScreen.RemoveClient(connection);
 }
 public void OnDiscoveryResponse(Server server, NetOutgoingMessage msg)
 {
     Debug.Assert(serverInfo != null);
     WriteServerInfo(msg, serverInfo);
 }
 public void OnClientConnected(Server server, String name, NetConnection connection)
 {
     MultiplayerLobbyScreen lobbyScreen = FindLobbyScreen();
     lobbyScreen.AddClient(name, connection);
 }