Adjusted full-calc statistics. Use new infantry skill algorithm.
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 7s

This commit is contained in:
MaxJa4
2024-01-25 18:04:45 +01:00
parent 7338d34765
commit 93908f7da5
4 changed files with 69 additions and 15 deletions

View File

@@ -1,7 +1,28 @@
package models
type TrackerWeaponJSON struct {
Weapons []Weapon `json:"weapons"`
type TrackerDataJSON struct {
Weapons []Weapon `json:"weapons"`
DivKills DividedKills `json:"dividedKills"`
Deaths int `json:"deaths"`
SecondsPlayed int `json:"secondsPlayed"`
XP []XP `json:"XP"`
}
type DividedKills struct {
ADS int `json:"ads"`
Hip int `json:"hip"`
AI int `json:"ai"`
}
type XP struct {
Ribbons Ribbons `json:"ribbons"`
}
type Ribbons struct {
Objective int `json:"objective"`
Squad int `json:"squad"`
Support int `json:"support"`
Total int `json:"total"`
}
type Weapon struct {