예제 #1
0
 public async Task<PlayerLifetimeStats> RetrievePlayerStatsByAccountId(Double accountId, String season)
 {
     int Id = Invoke("playerStatsService", "retrievePlayerStatsByAccountId", new object[] { accountId, season });
     while (!results.ContainsKey(Id))
         await Task.Delay(10);
     TypedObject messageBody = results[Id].GetTO("data").GetTO("body");
     PlayerLifetimeStats result = new PlayerLifetimeStats(messageBody);
     results.Remove(Id);
     return result;
 }
예제 #2
0
 /// 18.)
 public void RetrievePlayerStatsByAccountId(Double accountId, String season, PlayerLifetimeStats.Callback callback)
 {
     PlayerLifetimeStats cb = new PlayerLifetimeStats(callback);
     InvokeWithCallback("playerStatsService", "retrievePlayerStatsByAccountId", new object[] { accountId, season }, cb);
 }