From 69203c8744dfcb84b8a05b3419bc119778c01d9b Mon Sep 17 00:00:00 2001 From: rezga12 Date: Sun, 3 May 2020 19:08:05 +0400 Subject: [PATCH] add missing properties in ParticipantStat.cs --- .../MatchEndpoint/ParticipantStats.cs | 120 +++++++++++++++++- 1 file changed, 119 insertions(+), 1 deletion(-) diff --git a/RiotSharp/Endpoints/MatchEndpoint/ParticipantStats.cs b/RiotSharp/Endpoints/MatchEndpoint/ParticipantStats.cs index 640ff44b..cb94464e 100644 --- a/RiotSharp/Endpoints/MatchEndpoint/ParticipantStats.cs +++ b/RiotSharp/Endpoints/MatchEndpoint/ParticipantStats.cs @@ -9,6 +9,12 @@ public class ParticipantStats { internal ParticipantStats() { } + /// + /// Participant ID + /// + [JsonProperty("participantId")] + public long ParticipantId { get; set; } + /// /// Number of assists. /// @@ -176,11 +182,29 @@ internal ParticipantStats() { } /// [JsonProperty("magicDamageDealtToChampions")] public long MagicDamageDealtToChampions { get; set; } + + /// + /// Damage Dealt To Objectives. + /// + [JsonProperty("damageDealtToObjectives")] + public long DamageDealtToObjectives { get; set; } + + /// + /// Damage Dealt To Turrets. + /// + [JsonProperty("damageDealtToTurrets")] + public long DamageDealtToTurrets { get; set; } + + /// + /// Number of turrets destroyed. + /// + [JsonProperty("turretKills")] + public long TurretKills { get; set; } /// /// Magic damage taken. /// - [JsonProperty("magicDamageTaken")] + [JsonProperty("magicalDamageTaken")] public long MagicDamageTaken { get; set; } /// @@ -320,6 +344,18 @@ internal ParticipantStats() { } /// [JsonProperty("totalTimeCrowdControlDealt")] public long TotalTimeCrowdControlDealt { get; set; } + + /// + /// total time crowd control dealt to champions (scaled based on CC type). + /// + [JsonProperty("timeCCingOthers")] + public long TimeCCingOthers { get; set; } + + /// + /// Longest Time Spent Living + /// + [JsonProperty("longestTimeSpentLiving")] + public long LongestTimeSpentLiving { get; set; } /// /// Total units healed. @@ -356,6 +392,12 @@ internal ParticipantStats() { } /// [JsonProperty("trueDamageTaken")] public long TrueDamageTaken { get; set; } + + /// + /// Damage Mitigated on Self I.E. the amount of damage a champion reduced or blocked, through abilities or shields. + /// + [JsonProperty("damageSelfMitigated")] + public long DamageSelfMitigated { get; set; } /// /// Number of unreal kills. @@ -435,6 +477,22 @@ internal ParticipantStats() { } /// [JsonProperty("perk5")] public int Perk5 { get; set; } + + /// + /// Post game rune stat of Perk0. + /// + [JsonProperty("perk0Var1")] + public int Perk0Var1 { get; set; } + /// + /// Post game rune stat of Perk0. + /// + [JsonProperty("perk0Var2")] + public int Perk0Var2 { get; set; } + /// + /// Post game rune stat of Perk0. + /// + [JsonProperty("perk0Var3")] + public int Perk0Var3 { get; set; } /// /// Post game rune stat of Perk1. @@ -533,6 +591,66 @@ internal ParticipantStats() { } /// [JsonProperty("statPerk2")] public int StatPerk2 { get; set; } + + /// + /// Player score 0. + /// + [JsonProperty("playerScore0")] + public int PlayerScore0 { get; set; } + + /// + /// Player score 1. + /// + [JsonProperty("playerScore1")] + public int PlayerScore1 { get; set; } + + /// + /// Player score 2. + /// + [JsonProperty("playerScore2")] + public int PlayerScore2 { get; set; } + + /// + /// Player score 3. + /// + [JsonProperty("playerScore3")] + public int PlayerScore3 { get; set; } + + /// + /// Player score 4. + /// + [JsonProperty("playerScore4")] + public int PlayerScore4 { get; set; } + + /// + /// Player score 5. + /// + [JsonProperty("playerScore5")] + public int PlayerScore5 { get; set; } + + /// + /// Player score 6. + /// + [JsonProperty("playerScore6")] + public int PlayerScore6 { get; set; } + + /// + /// Player score 7. + /// + [JsonProperty("playerScore7")] + public int PlayerScore7 { get; set; } + + /// + /// Player score 8. + /// + [JsonProperty("playerScore8")] + public int PlayerScore8 { get; set; } + + /// + /// Player score 9. + /// + [JsonProperty("playerScore9")] + public int PlayerScore9 { get; set; } #endregion } }