示例#1
0
 /// <summary>
 /// Gets all the leagues for logged in summoner.
 /// </summary>
 /// <param name="callback">The callback method.</param>
 public void GetAllMyLeagues(SummonerLeagues.Callback callback)
 {
     SummonerLeagues cb = new SummonerLeagues(callback);
     InvokeWithCallback("leaguesServiceProxy", "getAllMyLeagues", new object[] { }, cb);
 }
示例#2
0
 /// <summary>
 /// Get all the leagues for specified summoner ID.
 /// </summary>
 /// <param name="summonerID">The summoner ID.</param>
 /// <param name="callback">The callback method.</param>
 public void GetAllLeaguesForPlayer(int summonerID, SummonerLeagues.Callback callback)
 {
     SummonerLeagues cb = new SummonerLeagues(callback);
     InvokeWithCallback("leaguesServiceProxy", "getAllLeaguesForPlayer", new object[] { summonerID }, cb);
 }