Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add missing properties in ParticipantStat.cs #662

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
120 changes: 119 additions & 1 deletion RiotSharp/Endpoints/MatchEndpoint/ParticipantStats.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ public class ParticipantStats
{
internal ParticipantStats() { }

/// <summary>
/// Participant ID
/// </summary>
[JsonProperty("participantId")]
public long ParticipantId { get; set; }

/// <summary>
/// Number of assists.
/// </summary>
Expand Down Expand Up @@ -176,11 +182,29 @@ internal ParticipantStats() { }
/// </summary>
[JsonProperty("magicDamageDealtToChampions")]
public long MagicDamageDealtToChampions { get; set; }

/// <summary>
/// Damage Dealt To Objectives.
/// </summary>
[JsonProperty("damageDealtToObjectives")]
public long DamageDealtToObjectives { get; set; }

/// <summary>
/// Damage Dealt To Turrets.
/// </summary>
[JsonProperty("damageDealtToTurrets")]
public long DamageDealtToTurrets { get; set; }

/// <summary>
/// Number of turrets destroyed.
/// </summary>
[JsonProperty("turretKills")]
public long TurretKills { get; set; }

/// <summary>
/// Magic damage taken.
/// </summary>
[JsonProperty("magicDamageTaken")]
[JsonProperty("magicalDamageTaken")]
public long MagicDamageTaken { get; set; }

/// <summary>
Expand Down Expand Up @@ -320,6 +344,18 @@ internal ParticipantStats() { }
/// </summary>
[JsonProperty("totalTimeCrowdControlDealt")]
public long TotalTimeCrowdControlDealt { get; set; }

/// <summary>
/// total time crowd control dealt to champions (scaled based on CC type).
/// </summary>
[JsonProperty("timeCCingOthers")]
public long TimeCCingOthers { get; set; }

/// <summary>
/// Longest Time Spent Living
/// </summary>
[JsonProperty("longestTimeSpentLiving")]
public long LongestTimeSpentLiving { get; set; }

/// <summary>
/// Total units healed.
Expand Down Expand Up @@ -356,6 +392,12 @@ internal ParticipantStats() { }
/// </summary>
[JsonProperty("trueDamageTaken")]
public long TrueDamageTaken { get; set; }

/// <summary>
/// Damage Mitigated on Self I.E. the amount of damage a champion reduced or blocked, through abilities or shields.
/// </summary>
[JsonProperty("damageSelfMitigated")]
public long DamageSelfMitigated { get; set; }

/// <summary>
/// Number of unreal kills.
Expand Down Expand Up @@ -435,6 +477,22 @@ internal ParticipantStats() { }
/// </summary>
[JsonProperty("perk5")]
public int Perk5 { get; set; }

/// <summary>
/// Post game rune stat of Perk0.
/// </summary>
[JsonProperty("perk0Var1")]
public int Perk0Var1 { get; set; }
/// <summary>
/// Post game rune stat of Perk0.
/// </summary>
[JsonProperty("perk0Var2")]
public int Perk0Var2 { get; set; }
/// <summary>
/// Post game rune stat of Perk0.
/// </summary>
[JsonProperty("perk0Var3")]
public int Perk0Var3 { get; set; }

/// <summary>
/// Post game rune stat of Perk1.
Expand Down Expand Up @@ -533,6 +591,66 @@ internal ParticipantStats() { }
/// </summary>
[JsonProperty("statPerk2")]
public int StatPerk2 { get; set; }

/// <summary>
/// Player score 0.
/// </summary>
[JsonProperty("playerScore0")]
public int PlayerScore0 { get; set; }

/// <summary>
/// Player score 1.
/// </summary>
[JsonProperty("playerScore1")]
public int PlayerScore1 { get; set; }

/// <summary>
/// Player score 2.
/// </summary>
[JsonProperty("playerScore2")]
public int PlayerScore2 { get; set; }

/// <summary>
/// Player score 3.
/// </summary>
[JsonProperty("playerScore3")]
public int PlayerScore3 { get; set; }

/// <summary>
/// Player score 4.
/// </summary>
[JsonProperty("playerScore4")]
public int PlayerScore4 { get; set; }

/// <summary>
/// Player score 5.
/// </summary>
[JsonProperty("playerScore5")]
public int PlayerScore5 { get; set; }

/// <summary>
/// Player score 6.
/// </summary>
[JsonProperty("playerScore6")]
public int PlayerScore6 { get; set; }

/// <summary>
/// Player score 7.
/// </summary>
[JsonProperty("playerScore7")]
public int PlayerScore7 { get; set; }

/// <summary>
/// Player score 8.
/// </summary>
[JsonProperty("playerScore8")]
public int PlayerScore8 { get; set; }

/// <summary>
/// Player score 9.
/// </summary>
[JsonProperty("playerScore9")]
public int PlayerScore9 { get; set; }
#endregion
}
}