/// <summary> /// Download the given zone id (if user is connected) /// </summary> /// <param name="zonesId"></param> public static void DownloadZone(List <Zone> zones, bool isForOnlineGame = false) { // Download in parallel //Parallel casse quand ont joue plusieurs fois la meme carte foreach (var zone in zones) { string content = ZoneAccess.Instance.GetMapFromId(zone.HashId).Content; ZoneHelper.SaveDownloadedZone(new Tuple <Zone, string>(zone, content), isForOnlineGame); } }