public async Task<AggregatedStats> GetAggregatedStats(Double summonerId, String gameMode, String season)
 {
     int Id = Invoke("playerStatsService", "getAggregatedStats", new object[] { summonerId, gameMode, season });
     while (!results.ContainsKey(Id))
         await Task.Delay(10);
     TypedObject messageBody = results[Id].GetTO("data").GetTO("body");
     AggregatedStats result = new AggregatedStats(messageBody);
     results.Remove(Id);
     return result;
 }
 /// 21.)
 public void GetAggregatedStats(Double summonerId, String gameMode, String season, AggregatedStats.Callback callback)
 {
     AggregatedStats cb = new AggregatedStats(callback);
     InvokeWithCallback("playerStatsService", "getAggregatedStats", new object[] { summonerId, gameMode, season }, cb);
 }