Esempio n. 1
0
 public void UpdateFromData(dynamic data)
 {
     this.Abilities    = AbilityLoadout.FromData(data.abilities);
     this.Stats        = (data.championStats as JObject).ToObject <ChampionStats>();
     this.CurrentGold  = data.currentGold;
     this.Runes        = (data.fullRunes.generalRunes as JArray).ToObject <List <Rune> >();
     this.Level        = data.level;
     this.SummonerName = data.summonerName;
 }