This repository has been archived by the owner on Nov 16, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
inventory.pb.go
357 lines (270 loc) · 12.1 KB
/
inventory.pb.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
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
// Code generated by protoc-gen-go.
// source: inventory.proto
// DO NOT EDIT!
package protos
import proto "github.com/golang/protobuf/proto"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
// Ignoring public import of ItemData from inventory_item.proto
// Ignoring public import of ItemAward from inventory_item.proto
// Ignoring public import of ItemId from inventory_item.proto
// Ignoring public import of ItemType from inventory_item.proto
// Ignoring public import of PokedexEntry from data.proto
// Ignoring public import of PlayerData from data.proto
// Ignoring public import of DownloadUrlEntry from data.proto
// Ignoring public import of AssetDigestEntry from data.proto
// Ignoring public import of PlayerBadge from data.proto
// Ignoring public import of PokemonData from data.proto
// Ignoring public import of BuddyPokemon from data.proto
// Ignoring public import of ContactSettings from data_player.proto
// Ignoring public import of PlayerAvatar from data_player.proto
// Ignoring public import of Currency from data_player.proto
// Ignoring public import of EquippedBadge from data_player.proto
// Ignoring public import of PlayerStats from data_player.proto
// Ignoring public import of PlayerCamera from data_player.proto
// Ignoring public import of PlayerCurrency from data_player.proto
// Ignoring public import of PlayerPublicProfile from data_player.proto
// Ignoring public import of DailyBonus from data_player.proto
// Ignoring public import of BadgeType from enums.proto
// Ignoring public import of TutorialState from enums.proto
// Ignoring public import of PokemonId from enums.proto
// Ignoring public import of PokemonMovementType from enums.proto
// Ignoring public import of Gender from enums.proto
// Ignoring public import of ActivityType from enums.proto
// Ignoring public import of CameraTarget from enums.proto
// Ignoring public import of PokemonFamilyId from enums.proto
// Ignoring public import of ItemCategory from enums.proto
// Ignoring public import of CameraInterpolation from enums.proto
// Ignoring public import of Platform from enums.proto
// Ignoring public import of TeamColor from enums.proto
// Ignoring public import of PokemonMove from enums.proto
// Ignoring public import of ItemEffect from enums.proto
// Ignoring public import of PokemonType from enums.proto
// Ignoring public import of HoloIapItemCategory from enums.proto
// Ignoring public import of PokemonRarity from enums.proto
type EggIncubatorType int32
const (
EggIncubatorType_INCUBATOR_UNSET EggIncubatorType = 0
EggIncubatorType_INCUBATOR_DISTANCE EggIncubatorType = 1
)
var EggIncubatorType_name = map[int32]string{
0: "INCUBATOR_UNSET",
1: "INCUBATOR_DISTANCE",
}
var EggIncubatorType_value = map[string]int32{
"INCUBATOR_UNSET": 0,
"INCUBATOR_DISTANCE": 1,
}
func (x EggIncubatorType) String() string {
return proto.EnumName(EggIncubatorType_name, int32(x))
}
type InventoryUpgradeType int32
const (
InventoryUpgradeType_UPGRADE_UNSET InventoryUpgradeType = 0
InventoryUpgradeType_INCREASE_ITEM_STORAGE InventoryUpgradeType = 1
InventoryUpgradeType_INCREASE_POKEMON_STORAGE InventoryUpgradeType = 2
)
var InventoryUpgradeType_name = map[int32]string{
0: "UPGRADE_UNSET",
1: "INCREASE_ITEM_STORAGE",
2: "INCREASE_POKEMON_STORAGE",
}
var InventoryUpgradeType_value = map[string]int32{
"UPGRADE_UNSET": 0,
"INCREASE_ITEM_STORAGE": 1,
"INCREASE_POKEMON_STORAGE": 2,
}
func (x InventoryUpgradeType) String() string {
return proto.EnumName(InventoryUpgradeType_name, int32(x))
}
type EggIncubators struct {
EggIncubator []*EggIncubator `protobuf:"bytes,1,rep,name=egg_incubator" json:"egg_incubator,omitempty"`
}
func (m *EggIncubators) Reset() { *m = EggIncubators{} }
func (m *EggIncubators) String() string { return proto.CompactTextString(m) }
func (*EggIncubators) ProtoMessage() {}
func (m *EggIncubators) GetEggIncubator() []*EggIncubator {
if m != nil {
return m.EggIncubator
}
return nil
}
type InventoryUpgrade struct {
ItemId ItemId `protobuf:"varint,1,opt,name=item_id,enum=POGOProtos.Inventory.Item.ItemId" json:"item_id,omitempty"`
UpgradeType InventoryUpgradeType `protobuf:"varint,2,opt,name=upgrade_type,enum=POGOProtos.Inventory.InventoryUpgradeType" json:"upgrade_type,omitempty"`
AdditionalStorage int32 `protobuf:"varint,3,opt,name=additional_storage" json:"additional_storage,omitempty"`
}
func (m *InventoryUpgrade) Reset() { *m = InventoryUpgrade{} }
func (m *InventoryUpgrade) String() string { return proto.CompactTextString(m) }
func (*InventoryUpgrade) ProtoMessage() {}
type InventoryItem struct {
ModifiedTimestampMs int64 `protobuf:"varint,1,opt,name=modified_timestamp_ms" json:"modified_timestamp_ms,omitempty"`
DeletedItem *InventoryItem_DeletedItem `protobuf:"bytes,2,opt,name=deleted_item" json:"deleted_item,omitempty"`
InventoryItemData *InventoryItemData `protobuf:"bytes,3,opt,name=inventory_item_data" json:"inventory_item_data,omitempty"`
}
func (m *InventoryItem) Reset() { *m = InventoryItem{} }
func (m *InventoryItem) String() string { return proto.CompactTextString(m) }
func (*InventoryItem) ProtoMessage() {}
func (m *InventoryItem) GetDeletedItem() *InventoryItem_DeletedItem {
if m != nil {
return m.DeletedItem
}
return nil
}
func (m *InventoryItem) GetInventoryItemData() *InventoryItemData {
if m != nil {
return m.InventoryItemData
}
return nil
}
type InventoryItem_DeletedItem struct {
PokemonId uint64 `protobuf:"fixed64,1,opt,name=pokemon_id" json:"pokemon_id,omitempty"`
}
func (m *InventoryItem_DeletedItem) Reset() { *m = InventoryItem_DeletedItem{} }
func (m *InventoryItem_DeletedItem) String() string { return proto.CompactTextString(m) }
func (*InventoryItem_DeletedItem) ProtoMessage() {}
type AppliedItem struct {
ItemId ItemId `protobuf:"varint,1,opt,name=item_id,enum=POGOProtos.Inventory.Item.ItemId" json:"item_id,omitempty"`
ItemType ItemType `protobuf:"varint,2,opt,name=item_type,enum=POGOProtos.Inventory.Item.ItemType" json:"item_type,omitempty"`
ExpireMs int64 `protobuf:"varint,3,opt,name=expire_ms" json:"expire_ms,omitempty"`
AppliedMs int64 `protobuf:"varint,4,opt,name=applied_ms" json:"applied_ms,omitempty"`
}
func (m *AppliedItem) Reset() { *m = AppliedItem{} }
func (m *AppliedItem) String() string { return proto.CompactTextString(m) }
func (*AppliedItem) ProtoMessage() {}
type EggIncubator struct {
Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
ItemId ItemId `protobuf:"varint,2,opt,name=item_id,enum=POGOProtos.Inventory.Item.ItemId" json:"item_id,omitempty"`
IncubatorType EggIncubatorType `protobuf:"varint,3,opt,name=incubator_type,enum=POGOProtos.Inventory.EggIncubatorType" json:"incubator_type,omitempty"`
UsesRemaining int32 `protobuf:"varint,4,opt,name=uses_remaining" json:"uses_remaining,omitempty"`
PokemonId uint64 `protobuf:"varint,5,opt,name=pokemon_id" json:"pokemon_id,omitempty"`
StartKmWalked float64 `protobuf:"fixed64,6,opt,name=start_km_walked" json:"start_km_walked,omitempty"`
TargetKmWalked float64 `protobuf:"fixed64,7,opt,name=target_km_walked" json:"target_km_walked,omitempty"`
}
func (m *EggIncubator) Reset() { *m = EggIncubator{} }
func (m *EggIncubator) String() string { return proto.CompactTextString(m) }
func (*EggIncubator) ProtoMessage() {}
type InventoryDelta struct {
OriginalTimestampMs int64 `protobuf:"varint,1,opt,name=original_timestamp_ms" json:"original_timestamp_ms,omitempty"`
NewTimestampMs int64 `protobuf:"varint,2,opt,name=new_timestamp_ms" json:"new_timestamp_ms,omitempty"`
InventoryItems []*InventoryItem `protobuf:"bytes,3,rep,name=inventory_items" json:"inventory_items,omitempty"`
}
func (m *InventoryDelta) Reset() { *m = InventoryDelta{} }
func (m *InventoryDelta) String() string { return proto.CompactTextString(m) }
func (*InventoryDelta) ProtoMessage() {}
func (m *InventoryDelta) GetInventoryItems() []*InventoryItem {
if m != nil {
return m.InventoryItems
}
return nil
}
type InventoryUpgrades struct {
InventoryUpgrades []*InventoryUpgrade `protobuf:"bytes,1,rep,name=inventory_upgrades" json:"inventory_upgrades,omitempty"`
}
func (m *InventoryUpgrades) Reset() { *m = InventoryUpgrades{} }
func (m *InventoryUpgrades) String() string { return proto.CompactTextString(m) }
func (*InventoryUpgrades) ProtoMessage() {}
func (m *InventoryUpgrades) GetInventoryUpgrades() []*InventoryUpgrade {
if m != nil {
return m.InventoryUpgrades
}
return nil
}
type AppliedItems struct {
Item []*AppliedItem `protobuf:"bytes,4,rep,name=item" json:"item,omitempty"`
}
func (m *AppliedItems) Reset() { *m = AppliedItems{} }
func (m *AppliedItems) String() string { return proto.CompactTextString(m) }
func (*AppliedItems) ProtoMessage() {}
func (m *AppliedItems) GetItem() []*AppliedItem {
if m != nil {
return m.Item
}
return nil
}
type InventoryItemData struct {
PokemonData *PokemonData `protobuf:"bytes,1,opt,name=pokemon_data" json:"pokemon_data,omitempty"`
Item *ItemData `protobuf:"bytes,2,opt,name=item" json:"item,omitempty"`
PokedexEntry *PokedexEntry `protobuf:"bytes,3,opt,name=pokedex_entry" json:"pokedex_entry,omitempty"`
PlayerStats *PlayerStats `protobuf:"bytes,4,opt,name=player_stats" json:"player_stats,omitempty"`
PlayerCurrency *PlayerCurrency `protobuf:"bytes,5,opt,name=player_currency" json:"player_currency,omitempty"`
PlayerCamera *PlayerCamera `protobuf:"bytes,6,opt,name=player_camera" json:"player_camera,omitempty"`
InventoryUpgrades *InventoryUpgrades `protobuf:"bytes,7,opt,name=inventory_upgrades" json:"inventory_upgrades,omitempty"`
AppliedItems *AppliedItems `protobuf:"bytes,8,opt,name=applied_items" json:"applied_items,omitempty"`
EggIncubators *EggIncubators `protobuf:"bytes,9,opt,name=egg_incubators" json:"egg_incubators,omitempty"`
Candy *Candy `protobuf:"bytes,10,opt,name=candy" json:"candy,omitempty"`
}
func (m *InventoryItemData) Reset() { *m = InventoryItemData{} }
func (m *InventoryItemData) String() string { return proto.CompactTextString(m) }
func (*InventoryItemData) ProtoMessage() {}
func (m *InventoryItemData) GetPokemonData() *PokemonData {
if m != nil {
return m.PokemonData
}
return nil
}
func (m *InventoryItemData) GetItem() *ItemData {
if m != nil {
return m.Item
}
return nil
}
func (m *InventoryItemData) GetPokedexEntry() *PokedexEntry {
if m != nil {
return m.PokedexEntry
}
return nil
}
func (m *InventoryItemData) GetPlayerStats() *PlayerStats {
if m != nil {
return m.PlayerStats
}
return nil
}
func (m *InventoryItemData) GetPlayerCurrency() *PlayerCurrency {
if m != nil {
return m.PlayerCurrency
}
return nil
}
func (m *InventoryItemData) GetPlayerCamera() *PlayerCamera {
if m != nil {
return m.PlayerCamera
}
return nil
}
func (m *InventoryItemData) GetInventoryUpgrades() *InventoryUpgrades {
if m != nil {
return m.InventoryUpgrades
}
return nil
}
func (m *InventoryItemData) GetAppliedItems() *AppliedItems {
if m != nil {
return m.AppliedItems
}
return nil
}
func (m *InventoryItemData) GetEggIncubators() *EggIncubators {
if m != nil {
return m.EggIncubators
}
return nil
}
func (m *InventoryItemData) GetCandy() *Candy {
if m != nil {
return m.Candy
}
return nil
}
type Candy struct {
FamilyId PokemonFamilyId `protobuf:"varint,1,opt,name=family_id,enum=POGOProtos.Enums.PokemonFamilyId" json:"family_id,omitempty"`
Candy int32 `protobuf:"varint,2,opt,name=candy" json:"candy,omitempty"`
}
func (m *Candy) Reset() { *m = Candy{} }
func (m *Candy) String() string { return proto.CompactTextString(m) }
func (*Candy) ProtoMessage() {}
func init() {
proto.RegisterEnum("POGOProtos.Inventory.EggIncubatorType", EggIncubatorType_name, EggIncubatorType_value)
proto.RegisterEnum("POGOProtos.Inventory.InventoryUpgradeType", InventoryUpgradeType_name, InventoryUpgradeType_value)
}