-
Notifications
You must be signed in to change notification settings - Fork 2
/
encyclopedia_achievements.go
64 lines (61 loc) · 2.35 KB
/
encyclopedia_achievements.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
// Auto generated file!
package wows
type EncyclopediaAchievementsOptions 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
// "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 EncyclopediaAchievements struct {
// Battle achievements
Battle *struct {
// Achievement ID
AchievementId *string `json:"achievement_id,omitempty"`
// Battle types in which players can receive achievements. Battle types according to the Battle Types method response
BattleTypes []string `json:"battle_types,omitempty"`
// Indicates how many times achievement can be obtained per battle
CountPerBattle *string `json:"count_per_battle,omitempty"`
// Achievement description
Description *string `json:"description,omitempty"`
// Achievement unavailable
Hidden *int `json:"hidden,omitempty"`
// Image link
Image *string `json:"image,omitempty"`
// Image of an unearned achievement
ImageInactive *string `json:"image_inactive,omitempty"`
// Indicates if achievement is in progress
IsProgress *int `json:"is_progress,omitempty"`
// Maximum progress
MaxProgress *int `json:"max_progress,omitempty"`
// Maximum tier of ship to receive this achievement
MaxShipLevel *int `json:"max_ship_level,omitempty"`
// Minimum tier of ship to receive this achievement
MinShipLevel *int `json:"min_ship_level,omitempty"`
// Achievement that can be received multiple times.
Multiple *int `json:"multiple,omitempty"`
// Achievement name
Name *string `json:"name,omitempty"`
// Indicates if a reward is granted for achievement
Reward *bool `json:"reward,omitempty"`
// Subtype of achievement
SubType *string `json:"sub_type,omitempty"`
// Type of achievement
Type *string `json:"type,omitempty"`
} `json:"battle,omitempty"`
}