Esempio n. 1
0
 public List <ChampionMastery> GetChampionMasterys(Summoner summoner)
 {
     return(api.GetChampionMasteries(RiotSharpAddition.RegionToPlatform(summoner.Region), summoner.Id));
 }
Esempio n. 2
0
 //Simply returns the ammount of point a person has
 public int GetPoints(Summoner summoner, Champion champion)
 {
     return(api.GetChampionMastery(RiotSharpAddition.RegionToPlatform(summoner.Region), summoner.Id, Convert.ToInt32(champion.Id)).ChampionPoints);
 }