Esempio n. 1
0
 public async Task<PlatformGameLifecycleDTO> RetrieveInProgressSpectatorGameInfo(String summonerName)
 {
     int Id = Invoke("gameService", "retrieveInProgressSpectatorGameInfo", new object[] { summonerName });
     while (!results.ContainsKey(Id))
         await Task.Delay(10);
     TypedObject messageBody = results[Id].GetTO("data").GetTO("body");
     PlatformGameLifecycleDTO result = new PlatformGameLifecycleDTO(messageBody);
     results.Remove(Id);
     return result;
 }
Esempio n. 2
0
 /// 58.)
 public void RetrieveInProgressSpectatorGameInfo(String summonerName, PlatformGameLifecycleDTO.Callback callback)
 {
     PlatformGameLifecycleDTO cb = new PlatformGameLifecycleDTO(callback);
     InvokeWithCallback("gameService", "retrieveInProgressSpectatorGameInfo", new object[] { summonerName }, cb);
 }