-
Notifications
You must be signed in to change notification settings - Fork 2
/
clans_glossary.go
69 lines (66 loc) · 2.74 KB
/
clans_glossary.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
// Auto generated file!
package wows
type ClansGlossaryOptions 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:
//
// "cs" - Čeština
// "de" - Deutsch
// "en" - English (by default)
// "es" - Español
// "fr" - Français
// "ja" - 日本語
// "pl" - Polski
// "ru" - Русский
// "th" - ไทย
// "zh-tw" - 繁體中文
// "tr" - Türkçe
// "zh-cn" - 中文
// "pt-br" - Português do Brasil
// "es-mx" - Español (México)
Language *string `json:"language,omitempty"`
}
type ClansGlossary struct {
// Installation type
BuildingTypes *struct {
// Installation ID
BuildingTypeId *int `json:"building_type_id,omitempty"`
// Structure name
Name *string `json:"name,omitempty"`
} `json:"building_types,omitempty"`
// Installations
Buildings *struct {
// The type of the bonus that is provided to the clan members after building the installation. Existing bonus types:
//
// exp_boost-rate of additional XP;
// members_count-number of clan members on which the clan size is increased;
// maintenance_discount-rate of reducing cost of servicing ships;
// purchase_discount-rate of reducing cost of researched ships;
// dummy-no bonuses.
BonusType *string `json:"bonus_type,omitempty"`
// The value of the bonus based on this bonus type.
BonusValue *int `json:"bonus_value,omitempty"`
// Installation ID
BuildingId *int `json:"building_id,omitempty"`
// Installation ID
BuildingTypeId *int `json:"building_type_id,omitempty"`
// Building cost in oil
Cost *int `json:"cost,omitempty"`
// Installation name
Name *string `json:"name,omitempty"`
// The nation of ships that will get a bonus from this installation. If value = "empty string" or "null", the bonus will be received on ships of all nations.
ShipNation *string `json:"ship_nation,omitempty"`
// Tier of ships that will get a bonus after building this installation. If value = "null", the bonus will be received on ships of all Tiers.
ShipTier *int `json:"ship_tier,omitempty"`
// Type of ships that will get a bonus after building this installation. If value = "empty string" or "null", the bonus will be received on ships of all types.
ShipType *string `json:"ship_type,omitempty"`
} `json:"buildings,omitempty"`
// Available clan positions
ClansRoles map[string]string `json:"clans_roles,omitempty"`
// Clan settings
Settings *struct {
// Max number of clan members
MaxMembersCount *int `json:"max_members_count,omitempty"`
} `json:"settings,omitempty"`
}