-
Notifications
You must be signed in to change notification settings - Fork 2
/
encyclopedia_info.go
55 lines (51 loc) · 1.85 KB
/
encyclopedia_info.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
// Auto generated file!
package wows
import (
"github.com/IceflowRE/go-wargaming/v3/wargaming/wgnTime"
)
type EncyclopediaInfoOptions 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 EncyclopediaInfo struct {
// Game client version
GameVersion *string `json:"game_version,omitempty"`
// List of languages supported by encyclopedia methods
Languages map[string]string `json:"languages,omitempty"`
// Types of Modifications available
ShipModifications map[string]string `json:"ship_modifications,omitempty"`
// Types of modules available
ShipModules map[string]string `json:"ship_modules,omitempty"`
// Nations available
ShipNations map[string]string `json:"ship_nations,omitempty"`
// Images of ship types
ShipTypeImages *struct {
// Ship type image
Image *string `json:"image,omitempty"`
// Elite ships icon
ImageElite *string `json:"image_elite,omitempty"`
// Premium ships icon
ImagePremium *string `json:"image_premium,omitempty"`
} `json:"ship_type_images,omitempty"`
// Types of ships available
ShipTypes map[string]string `json:"ship_types,omitempty"`
// Time when details on ships were updated
ShipsUpdatedAt *wgnTime.UnixTime `json:"ships_updated_at,omitempty"`
}