Even more fields

This commit is contained in:
Tyler 2017-05-27 21:48:39 -04:00
parent 8d30cfdfa2
commit 3d4a660c97
1 changed files with 18 additions and 0 deletions

View File

@ -58,6 +58,8 @@ type CareerStats struct {
type CareerStat struct { type CareerStat struct {
Assists *AssistStats `json:"assists"` Assists *AssistStats `json:"assists"`
Combat *CombatStats `json:"combat"`
Deaths *DeathStats `json:"deaths"`
} }
type AssistStats struct { type AssistStats struct {
@ -65,4 +67,20 @@ type AssistStats struct {
OffensiveAssists int64 `json:"offensiveAssists"` OffensiveAssists int64 `json:"offensiveAssists"`
SelfHealing int64 `json:"offensiveAssists"` SelfHealing int64 `json:"offensiveAssists"`
TurretsDestroyed int64 `json:"turretsDestroyed"` 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"`
} }