Ejemplo n.º 1
0
 public async Task<SummonerActiveBoostsDTO> GetSumonerActiveBoosts()
 {
     int Id = Invoke("inventoryService", "getSumonerActiveBoosts", new object[] { });
     while (!results.ContainsKey(Id))
         await Task.Delay(10);
     TypedObject messageBody = results[Id].GetTO("data").GetTO("body");
     SummonerActiveBoostsDTO result = new SummonerActiveBoostsDTO(messageBody);
     results.Remove(Id);
     return result;
 }
Ejemplo n.º 2
0
 /// 3.)
 public void GetSumonerActiveBoosts(SummonerActiveBoostsDTO.Callback callback)
 {
     SummonerActiveBoostsDTO cb = new SummonerActiveBoostsDTO(callback);
     InvokeWithCallback("inventoryService", "getSumonerActiveBoosts", new object[] { }, cb);
 }