Exemplo n.º 1
0
 public async Task<AllPublicSummonerDataDTO> GetAllPublicSummonerDataByAccount(Double accountId)
 {
     int Id = Invoke("summonerService", "getAllPublicSummonerDataByAccount", new object[] { accountId });
     while (!results.ContainsKey(Id))
         await Task.Delay(10);
     TypedObject messageBody = results[Id].GetTO("data").GetTO("body");
     AllPublicSummonerDataDTO result = new AllPublicSummonerDataDTO(messageBody);
     results.Remove(Id);
     return result;
 }
Exemplo n.º 2
0
 /// 34.)
 public void GetAllPublicSummonerDataByAccount(Double accountId, AllPublicSummonerDataDTO.Callback callback)
 {
     AllPublicSummonerDataDTO cb = new AllPublicSummonerDataDTO(callback);
     InvokeWithCallback("summonerService", "getAllPublicSummonerDataByAccount", new object[] { accountId }, cb);
 }