Files
InfantrySkillCalculator/models/tracker_json.go

24 lines
546 B
Go

package models
type TrackerWeaponJSON struct {
Weapons []Weapon `json:"weapons"`
}
type Weapon struct {
Type string `json:"type"`
Name string `json:"weaponName"`
ID string `json:"id"`
Kills int `json:"kills"`
KPM float64 `json:"killsPerMinute"`
ShotsFired int `json:"shotsFired"`
ShotsHit int `json:"shotsHit"`
Accuracy float64 `json:"-"`
}
type PlayerIDsJSON struct {
Results []struct {
PersonaID uint `json:"personaId"`
NucleusID uint `json:"nucleusId"`
} `json:"results"`
}