-
Notifications
You must be signed in to change notification settings - Fork 2
/
encyclopedia_planemodules.go
216 lines (213 loc) · 6.79 KB
/
encyclopedia_planemodules.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
// Auto generated file!
package wowp
type EncyclopediaPlanemodulesOptions 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" - 简体中文
// "tr" - Türkçe
// "cs" - Čeština
// "th" - ไทย
// "vi" - Tiếng Việt
// "ko" - 한국어
Language *string `json:"language,omitempty"`
// Configuration. Default is "engine, bomb, rocket, turret, turretfront, turretupper, turretlower, gun, construction". Maximum limit: 100. Valid values:
//
// "engine" - engine
// "bomb" - bomb
// "rocket" - rocket
// "turret" - rear gun
// "turretfront" - Передняя турель
// "turretupper" - Верхняя турель
// "turretlower" - Нижняя турель
// "gun" - autocannon
// "construction" - airframe
Type []string `json:"type,omitempty"`
}
type EncyclopediaPlanemodules struct {
// Bomb
Bomb *struct {
// Bomb ID
BombId *int `json:"bomb_id,omitempty"`
// List of compatible aircraft
CompatibleVehicles []int `json:"compatible_vehicles,omitempty"`
// Damage
ExplosionDamageMax *int `json:"explosion_damage_max,omitempty"`
// Damage radius
ExplosionRadius *int `json:"explosion_radius,omitempty"`
// URL to image
Image *string `json:"image,omitempty"`
// Indicates if the module is standard
IsDefault *bool `json:"is_default,omitempty"`
// Tier
Level *int `json:"level,omitempty"`
// Weight
Mass *float32 `json:"mass,omitempty"`
// Name
Name *string `json:"name,omitempty"`
// Localized name field
NameI18n *string `json:"name_i18n,omitempty"`
// Purchase cost in credits
PriceCredit *int `json:"price_credit,omitempty"`
// Research cost
PriceXp *int `json:"price_xp,omitempty"`
} `json:"bomb,omitempty"`
// Airframe
Construction *struct {
// List of compatible aircraft
CompatibleVehicles []int `json:"compatible_vehicles,omitempty"`
// Airframe ID
ConstructionId *int `json:"construction_id,omitempty"`
// Hit points
Hp *int `json:"hp,omitempty"`
// URL to image
Image *string `json:"image,omitempty"`
// Indicates if the module is standard
IsDefault *bool `json:"is_default,omitempty"`
// Tier
Level *int `json:"level,omitempty"`
// Weight
Mass *float32 `json:"mass,omitempty"`
// Name
Name *string `json:"name,omitempty"`
// Localized name field
NameI18n *string `json:"name_i18n,omitempty"`
// Purchase cost in credits
PriceCredit *int `json:"price_credit,omitempty"`
// Research cost
PriceXp *int `json:"price_xp,omitempty"`
} `json:"construction,omitempty"`
// Engine
Engine *struct {
// List of compatible aircraft
CompatibleVehicles []int `json:"compatible_vehicles,omitempty"`
// Engine ID
EngineId *int `json:"engine_id,omitempty"`
// Type
EquipmentType *string `json:"equipment_type,omitempty"`
// Localized equipment_type field
EquipmentTypeI18n *string `json:"equipment_type_i18n,omitempty"`
// URL to image
Image *string `json:"image,omitempty"`
// Indicates if the module is standard
IsDefault *bool `json:"is_default,omitempty"`
// Tier
Level *int `json:"level,omitempty"`
// Weight
Mass *float32 `json:"mass,omitempty"`
// Name
Name *string `json:"name,omitempty"`
// Localized name field
NameI18n *string `json:"name_i18n,omitempty"`
// Power
Power *int `json:"power,omitempty"`
// Purchase cost in credits
PriceCredit *int `json:"price_credit,omitempty"`
// Research cost
PriceXp *int `json:"price_xp,omitempty"`
// Thrust
Thrust *int `json:"thrust,omitempty"`
} `json:"engine,omitempty"`
// Autocannon
Gun *struct {
// Muzzle velocity
BulletVelocity *int `json:"bullet_velocity,omitempty"`
// Caliber
Caliber *float32 `json:"caliber,omitempty"`
// List of compatible aircraft
CompatibleVehicles []int `json:"compatible_vehicles,omitempty"`
// Damage
Dps *int `json:"dps,omitempty"`
// Gun ID
GunId *int `json:"gun_id,omitempty"`
// URL to image
Image *string `json:"image,omitempty"`
// Indicates if the module is standard
IsDefault *bool `json:"is_default,omitempty"`
// Tier
Level *int `json:"level,omitempty"`
// Weight
Mass *float32 `json:"mass,omitempty"`
// Name
Name *string `json:"name,omitempty"`
// Localized name field
NameI18n *string `json:"name_i18n,omitempty"`
// Purchase cost in credits
PriceCredit *int `json:"price_credit,omitempty"`
// Research cost
PriceXp *int `json:"price_xp,omitempty"`
// Rate of fire
Rpm *int `json:"rpm,omitempty"`
// Type
Type *string `json:"type,omitempty"`
// Localized type field
TypeI18n *string `json:"type_i18n,omitempty"`
} `json:"gun,omitempty"`
// Rocket
Rocket *struct {
// List of compatible aircraft
CompatibleVehicles []int `json:"compatible_vehicles,omitempty"`
// Damage
ExplosionDamageMax *int `json:"explosion_damage_max,omitempty"`
// Damage radius
ExplosionRadius *int `json:"explosion_radius,omitempty"`
// URL to image
Image *string `json:"image,omitempty"`
// Indicates if the module is standard
IsDefault *bool `json:"is_default,omitempty"`
// Tier
Level *int `json:"level,omitempty"`
// Weight
Mass *float32 `json:"mass,omitempty"`
// Name
Name *string `json:"name,omitempty"`
// Localized name field
NameI18n *string `json:"name_i18n,omitempty"`
// Purchase cost in credits
PriceCredit *int `json:"price_credit,omitempty"`
// Research cost
PriceXp *int `json:"price_xp,omitempty"`
// Rocket ID
RocketId *int `json:"rocket_id,omitempty"`
} `json:"rocket,omitempty"`
// Rear gun
Turret *struct {
// Muzzle velocity
BulletVelocity *int `json:"bullet_velocity,omitempty"`
// Caliber
Caliber *float32 `json:"caliber,omitempty"`
// List of compatible aircraft
CompatibleVehicles []int `json:"compatible_vehicles,omitempty"`
// Damage
Dps *int `json:"dps,omitempty"`
// URL to image
Image *string `json:"image,omitempty"`
// Indicates if the module is standard
IsDefault *bool `json:"is_default,omitempty"`
// Tier
Level *int `json:"level,omitempty"`
// Weight
Mass *float32 `json:"mass,omitempty"`
// Name
Name *string `json:"name,omitempty"`
// Localized name field
NameI18n *string `json:"name_i18n,omitempty"`
// Purchase cost in credits
PriceCredit *int `json:"price_credit,omitempty"`
// Research cost
PriceXp *int `json:"price_xp,omitempty"`
// Rate of fire
Rpm *int `json:"rpm,omitempty"`
// Rear gun ID
TurretId *int `json:"turret_id,omitempty"`
// Autocannon
WeaponCount *int `json:"weapon_count,omitempty"`
} `json:"turret,omitempty"`
}