PlayerAdvanced LoadPlayer(JObject o) { PlayerAdvanced tmp = new PlayerAdvanced((string)o["matchHistoryUri"], (int)o["profileIcon"], (long)o["summonerId"], (string)o["summonerName"]); return(tmp); }
public ParticipantIdentityAdvanced(int participantId, JObject playerO) { this.participantId = participantId; if (playerO != null) { this.player = LoadPlayer(playerO); } }