-
Notifications
You must be signed in to change notification settings - Fork 2
/
encyclopedia_tankguns.go
61 lines (58 loc) · 1.89 KB
/
encyclopedia_tankguns.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
// Auto generated file!
package wot
type EncyclopediaTankgunsOptions 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"`
// Module ID. Maximum limit: 1000.
ModuleId []int `json:"module_id,omitempty"`
// Nation. Maximum limit: 100.
Nation []string `json:"nation,omitempty"`
// Compatible vehicle ID
TankId *int `json:"tank_id,omitempty"`
// Compatible turret ID
TurretId *int `json:"turret_id,omitempty"`
}
type EncyclopediaTankguns struct {
// Damage
Damage []int `json:"damage,omitempty"`
// Tier
Level *int `json:"level,omitempty"`
// Module ID
ModuleId *int `json:"module_id,omitempty"`
// Vehicle name
Name *string `json:"name,omitempty"`
// Localized name field
NameI18n *string `json:"name_i18n,omitempty"`
// Nation
Nation *string `json:"nation,omitempty"`
// Localized nation field
NationI18n *string `json:"nation_i18n,omitempty"`
// Penetration
PiercingPower []int `json:"piercing_power,omitempty"`
// Purchase cost in credits
PriceCredit *int `json:"price_credit,omitempty"`
// Purchase cost in gold
PriceGold *int `json:"price_gold,omitempty"`
// Rate of fire
Rate *float32 `json:"rate,omitempty"`
// IDs of compatible vehicles
Tanks []int `json:"tanks,omitempty"`
// IDs of compatible turrets
Turrets []int `json:"turrets,omitempty"`
}