public ParticipantAdvanced(int championId, string highestAchievedSeasonTier, JArray masteriesA, int participantId, JArray runesA, int spell1Id, int spell2Id, JObject stats, int teamId, JObject timeline) { this.championId = championId; this.highestAchievedSeasonTierString = highestAchievedSeasonTier; if (highestAchievedSeasonTierString != null) { this.highestAchievedSeasonTier = GameConstants.SetTier(highestAchievedSeasonTierString); } if (masteriesA != null) { this.masteries = LoadMasteries(masteriesA); } this.participantId = participantId; if (runesA != null) { this.runes = LoadRunes(runesA); } this.spell1Id = spell1Id; this.spell2Id = spell2Id; if (stats != null) { this.stats = LoadStats(stats); } this.teamId = teamId; if (timeline != null) { this.timeline = LoadTimeline(timeline); } }