/// 4.)
 public ChampionDTO[] GetAvailableChampions()
 {
     int Id = Invoke("inventoryService", "getAvailableChampions", new object[] { });
     while (!results.ContainsKey(Id))
         System.Threading.Thread.Sleep(10);
     ChampionDTO[] result = new ChampionDTO[results[Id].GetTO("data").GetArray("body").Length];
     for (int i = 0; i < results[Id].GetTO("data").GetArray("body").Length; i++)
     {
         result[i] = new ChampionDTO((TypedObject)results[Id].GetTO("data").GetArray("body")[i]);
     }
     results.Remove(Id);
     return result;
 }
 /// 4.)
 public async Task<ChampionDTO[]> GetAvailableChampions()
 {
     int Id = Invoke("inventoryService", "getAvailableChampions", new object[] { });
     while (!results.ContainsKey(Id))
         await Task.Delay(10);
     ChampionDTO[] result = new ChampionDTO[results[Id].GetTO("data").GetArray("body").Length];
     for (int i = 0; i < results[Id].GetTO("data").GetArray("body").Length; i++)
     {
         result[i] = new ChampionDTO((TypedObject)results[Id].GetTO("data").GetArray("body")[i]);
     }
     results.Remove(Id);
     return result;
 }