-
Notifications
You must be signed in to change notification settings - Fork 2
/
encyclopedia_crews.go
65 lines (62 loc) · 2.5 KB
/
encyclopedia_crews.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
// Auto generated file!
package wows
type EncyclopediaCrewsOptions struct {
// Commander ID. Maximum limit: 100.
CommanderId []int `json:"commander_id,omitempty"`
// 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:
//
// "cs" - Čeština
// "de" - Deutsch
// "en" - English (by default)
// "es" - Español
// "fr" - Français
// "it" - Italiano
// "ja" - 日本語
// "pl" - Polski
// "ru" - Русский
// "th" - ไทย
// "zh-tw" - 繁體中文
// "zh-cn" - 中文
// "tr" - Türkçe
// "pt-br" - Português do Brasil
// "es-mx" - Español (México)
Language *string `json:"language,omitempty"`
}
type EncyclopediaCrews struct {
// Basic training cost
BaseTrainingHirePrice *int `json:"base_training_hire_price,omitempty"`
// Basic training level
BaseTrainingLevel *int `json:"base_training_level,omitempty"`
// Commanders' first names
FirstNames []string `json:"first_names,omitempty"`
// Retraining cost in doubloons
GoldRetrainingPrice *int `json:"gold_retraining_price,omitempty"`
// Training cost in gold
GoldTrainingHirePrice *int `json:"gold_training_hire_price,omitempty"`
// Commander training level purchased for doubloons
GoldTrainingLevel *int `json:"gold_training_level,omitempty"`
// The list of the Commander images:
//
// 1-URL to the image of the Commander with 1–7 skill points;
// 8-URL to the image of the Commander with 8–13 skill points;
// 14-URL to the image of the Commander with 14–20 skill points;.
//
// If only the value for the key 1 is specified, the Commander has not earned skill points yet.
Icons map[string]string `json:"icons,omitempty"`
// Indicates if the skill is preserved after retraining
IsRetrainable *bool `json:"is_retrainable,omitempty"`
// Commanders' last names
LastNames []string `json:"last_names,omitempty"`
// Retraining cost in credits
MoneyRetrainingPrice *int `json:"money_retraining_price,omitempty"`
// Training cost in credits
MoneyTrainingHirePrice *int `json:"money_training_hire_price,omitempty"`
// Commander training level purchased for credits
MoneyTrainingLevel *int `json:"money_training_level,omitempty"`
// Nation
Nation *string `json:"nation,omitempty"`
// Subnation index
SubnationIndex *int `json:"subnation_index,omitempty"`
}