private void UnloadVille(Ville_S ville) { // ban the players in the ville foreach (KeyValuePair <HostID, RemoteClient_S> iPlayer in ville.m_players) { m_netServer.CloseConnection(iPlayer.Key); } Ville_S villeValue; //shutdown the loaded ville m_villes.TryRemove(ville.m_name, out villeValue); //reales the cache data tree m_netServer.DestroyP2PGroup(ville.m_p2pGroupID); }