-
Notifications
You must be signed in to change notification settings - Fork 2
/
encyclopedia_info.go
50 lines (46 loc) · 1.64 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
// Auto generated file!
package wot
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:
//
// "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 EncyclopediaInfo struct {
// Award sections
AchievementSections *struct {
// Award section name
Name *string `json:"name,omitempty"`
// Award section order
Order *int `json:"order,omitempty"`
} `json:"achievement_sections,omitempty"`
// Game client version
GameVersion *string `json:"game_version,omitempty"`
// List of supported languages
Languages map[string]string `json:"languages,omitempty"`
// Time when vehicles details in Tankopedia were updated
TanksUpdatedAt *wgnTime.UnixTime `json:"tanks_updated_at,omitempty"`
// Available crew qualifications
VehicleCrewRoles map[string]string `json:"vehicle_crew_roles,omitempty"`
// Nations available
VehicleNations map[string]string `json:"vehicle_nations,omitempty"`
// Available vehicle types
VehicleTypes map[string]string `json:"vehicle_types,omitempty"`
}