From 3d4a660c970d94d96cb784860fc61e12cfa15ba0 Mon Sep 17 00:00:00 2001 From: Tyler Date: Sat, 27 May 2017 21:48:39 -0400 Subject: [PATCH] Even more fields --- structs.go | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/structs.go b/structs.go index 2b82538..a51fd95 100644 --- a/structs.go +++ b/structs.go @@ -58,6 +58,8 @@ type CareerStats struct { type CareerStat struct { Assists *AssistStats `json:"assists"` + Combat *CombatStats `json:"combat"` + Deaths *DeathStats `json:"deaths"` } type AssistStats struct { @@ -65,4 +67,20 @@ type AssistStats struct { OffensiveAssists int64 `json:"offensiveAssists"` SelfHealing int64 `json:"offensiveAssists"` TurretsDestroyed int64 `json:"turretsDestroyed"` +} + +type CombatStats struct { + DamageDone int64 `json:"damageDone"` + Eliminations int `json:"eliminations"` + EnvironmentalKills int `json:"environmentalKills"` + FinalBlows int `json:"finalBlows"` + MeleeFinalBlows int `json:"meleeFinalBlows"` + MultiKills int `json:"multikills"` + ObjectiveKills int `json:"objectiveKills"` + SoloKills int `json:"soloKills"` +} + +type DeathStats struct { + Deaths int `json:"deaths"` + EnvironmentalDeaths int `json:"environmentalDeaths"` } \ No newline at end of file