Exemplo n.º 1
0
 public List <ChampionMastery> GetChampionMasterys(Summoner summoner)
 {
     return(api.GetChampionMasteries(RiotSharpAddition.RegionToPlatform(summoner.Region), summoner.Id));
 }
Exemplo 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);
 }