-
Notifications
You must be signed in to change notification settings - Fork 2
/
account_tankstats.go
84 lines (80 loc) · 2.55 KB
/
account_tankstats.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
// Auto generated file!
package wotb
import (
"github.com/IceflowRE/go-wargaming/v4/wargaming/wgnTime"
)
type AccountTankstatsOptions struct {
// Response field. The fields are separated with commas. Embedded fields are separated with dots. To exclude a field, use "-" in front of its name. In case the parameter is not defined, the method returns all fields. Maximum limit: 100.
Fields []string `json:"fields,omitempty"`
// Localization language. Default is "en". Valid values:
//
// "en" - English (by default)
// "ru" - Русский
// "pl" - Polski
// "de" - Deutsch
// "fr" - Français
// "es" - Español
// "zh-cn" - 简体中文
// "zh-tw" - 繁體中文
// "tr" - Türkçe
// "cs" - Čeština
// "th" - ไทย
// "vi" - Tiếng Việt
// "ko" - 한국어
Language *string `json:"language,omitempty"`
}
type AccountTankstats struct {
// Player account ID
AccountId *int `json:"account_id,omitempty"`
// Overall Statistics
All *struct {
// Number of battles
Battles *int `json:"battles,omitempty"`
// Base capture points
CapturePoints *int `json:"capture_points,omitempty"`
// Damage caused
DamageDealt *int `json:"damage_dealt,omitempty"`
// Damage received
DamageReceived *int `json:"damage_received,omitempty"`
// Base defense points
DroppedCapturePoints *int `json:"dropped_capture_points,omitempty"`
// Vehicles destroyed
Frags *int `json:"frags,omitempty"`
// Vehicles destroyed (Tier >= 8)
Frags8p *int `json:"frags8p,omitempty"`
// Number of hits
Hits *int `json:"hits,omitempty"`
// Defeats
Losses *int `json:"losses,omitempty"`
// Maximum destroyed in battle
MaxFrags *int `json:"max_frags,omitempty"`
// Maximum experience per battle
MaxXp *int `json:"max_xp,omitempty"`
// Shots fired
Shots *int `json:"shots,omitempty"`
// Vehicles spotted
Spotted *int `json:"spotted,omitempty"`
// Battles survived
SurvivedBattles *int `json:"survived_battles,omitempty"`
// Victories in battles survived
WinAndSurvived *int `json:"win_and_survived,omitempty"`
// Victories
Wins *int `json:"wins,omitempty"`
// Total experience
Xp *int `json:"xp,omitempty"`
} `json:"all,omitempty"`
// Overall battle life time in seconds
BattleLifeTime *wgnTime.UnixTime `json:"battle_life_time,omitempty"`
// Last battle time
LastBattleTime *wgnTime.UnixTime `json:"last_battle_time,omitempty"`
// Mastery Badges:
//
// 0 - None
// 1 - 3rd Class
// 2 - 2nd Class
// 3 - 1st Class
// 4 - Ace Tanker
MarkOfMastery *int `json:"mark_of_mastery,omitempty"`
// Vehicle ID
TankId *int `json:"tank_id,omitempty"`
}