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_item.pb.go
191 lines (175 loc) · 6.57 KB
/
inventory_item.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
// Code generated by protoc-gen-go.
// source: inventory_item.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
type ItemId int32
const (
ItemId_ITEM_UNKNOWN ItemId = 0
ItemId_ITEM_POKE_BALL ItemId = 1
ItemId_ITEM_GREAT_BALL ItemId = 2
ItemId_ITEM_ULTRA_BALL ItemId = 3
ItemId_ITEM_MASTER_BALL ItemId = 4
ItemId_ITEM_POTION ItemId = 101
ItemId_ITEM_SUPER_POTION ItemId = 102
ItemId_ITEM_HYPER_POTION ItemId = 103
ItemId_ITEM_MAX_POTION ItemId = 104
ItemId_ITEM_REVIVE ItemId = 201
ItemId_ITEM_MAX_REVIVE ItemId = 202
ItemId_ITEM_LUCKY_EGG ItemId = 301
ItemId_ITEM_INCENSE_ORDINARY ItemId = 401
ItemId_ITEM_INCENSE_SPICY ItemId = 402
ItemId_ITEM_INCENSE_COOL ItemId = 403
ItemId_ITEM_INCENSE_FLORAL ItemId = 404
ItemId_ITEM_TROY_DISK ItemId = 501
ItemId_ITEM_X_ATTACK ItemId = 602
ItemId_ITEM_X_DEFENSE ItemId = 603
ItemId_ITEM_X_MIRACLE ItemId = 604
ItemId_ITEM_RAZZ_BERRY ItemId = 701
ItemId_ITEM_BLUK_BERRY ItemId = 702
ItemId_ITEM_NANAB_BERRY ItemId = 703
ItemId_ITEM_WEPAR_BERRY ItemId = 704
ItemId_ITEM_PINAP_BERRY ItemId = 705
ItemId_ITEM_SPECIAL_CAMERA ItemId = 801
ItemId_ITEM_INCUBATOR_BASIC_UNLIMITED ItemId = 901
ItemId_ITEM_INCUBATOR_BASIC ItemId = 902
ItemId_ITEM_POKEMON_STORAGE_UPGRADE ItemId = 1001
ItemId_ITEM_ITEM_STORAGE_UPGRADE ItemId = 1002
)
var ItemId_name = map[int32]string{
0: "ITEM_UNKNOWN",
1: "ITEM_POKE_BALL",
2: "ITEM_GREAT_BALL",
3: "ITEM_ULTRA_BALL",
4: "ITEM_MASTER_BALL",
101: "ITEM_POTION",
102: "ITEM_SUPER_POTION",
103: "ITEM_HYPER_POTION",
104: "ITEM_MAX_POTION",
201: "ITEM_REVIVE",
202: "ITEM_MAX_REVIVE",
301: "ITEM_LUCKY_EGG",
401: "ITEM_INCENSE_ORDINARY",
402: "ITEM_INCENSE_SPICY",
403: "ITEM_INCENSE_COOL",
404: "ITEM_INCENSE_FLORAL",
501: "ITEM_TROY_DISK",
602: "ITEM_X_ATTACK",
603: "ITEM_X_DEFENSE",
604: "ITEM_X_MIRACLE",
701: "ITEM_RAZZ_BERRY",
702: "ITEM_BLUK_BERRY",
703: "ITEM_NANAB_BERRY",
704: "ITEM_WEPAR_BERRY",
705: "ITEM_PINAP_BERRY",
801: "ITEM_SPECIAL_CAMERA",
901: "ITEM_INCUBATOR_BASIC_UNLIMITED",
902: "ITEM_INCUBATOR_BASIC",
1001: "ITEM_POKEMON_STORAGE_UPGRADE",
1002: "ITEM_ITEM_STORAGE_UPGRADE",
}
var ItemId_value = map[string]int32{
"ITEM_UNKNOWN": 0,
"ITEM_POKE_BALL": 1,
"ITEM_GREAT_BALL": 2,
"ITEM_ULTRA_BALL": 3,
"ITEM_MASTER_BALL": 4,
"ITEM_POTION": 101,
"ITEM_SUPER_POTION": 102,
"ITEM_HYPER_POTION": 103,
"ITEM_MAX_POTION": 104,
"ITEM_REVIVE": 201,
"ITEM_MAX_REVIVE": 202,
"ITEM_LUCKY_EGG": 301,
"ITEM_INCENSE_ORDINARY": 401,
"ITEM_INCENSE_SPICY": 402,
"ITEM_INCENSE_COOL": 403,
"ITEM_INCENSE_FLORAL": 404,
"ITEM_TROY_DISK": 501,
"ITEM_X_ATTACK": 602,
"ITEM_X_DEFENSE": 603,
"ITEM_X_MIRACLE": 604,
"ITEM_RAZZ_BERRY": 701,
"ITEM_BLUK_BERRY": 702,
"ITEM_NANAB_BERRY": 703,
"ITEM_WEPAR_BERRY": 704,
"ITEM_PINAP_BERRY": 705,
"ITEM_SPECIAL_CAMERA": 801,
"ITEM_INCUBATOR_BASIC_UNLIMITED": 901,
"ITEM_INCUBATOR_BASIC": 902,
"ITEM_POKEMON_STORAGE_UPGRADE": 1001,
"ITEM_ITEM_STORAGE_UPGRADE": 1002,
}
func (x ItemId) String() string {
return proto.EnumName(ItemId_name, int32(x))
}
type ItemType int32
const (
ItemType_ITEM_TYPE_NONE ItemType = 0
ItemType_ITEM_TYPE_POKEBALL ItemType = 1
ItemType_ITEM_TYPE_POTION ItemType = 2
ItemType_ITEM_TYPE_REVIVE ItemType = 3
ItemType_ITEM_TYPE_MAP ItemType = 4
ItemType_ITEM_TYPE_BATTLE ItemType = 5
ItemType_ITEM_TYPE_FOOD ItemType = 6
ItemType_ITEM_TYPE_CAMERA ItemType = 7
ItemType_ITEM_TYPE_DISK ItemType = 8
ItemType_ITEM_TYPE_INCUBATOR ItemType = 9
ItemType_ITEM_TYPE_INCENSE ItemType = 10
ItemType_ITEM_TYPE_XP_BOOST ItemType = 11
ItemType_ITEM_TYPE_INVENTORY_UPGRADE ItemType = 12
)
var ItemType_name = map[int32]string{
0: "ITEM_TYPE_NONE",
1: "ITEM_TYPE_POKEBALL",
2: "ITEM_TYPE_POTION",
3: "ITEM_TYPE_REVIVE",
4: "ITEM_TYPE_MAP",
5: "ITEM_TYPE_BATTLE",
6: "ITEM_TYPE_FOOD",
7: "ITEM_TYPE_CAMERA",
8: "ITEM_TYPE_DISK",
9: "ITEM_TYPE_INCUBATOR",
10: "ITEM_TYPE_INCENSE",
11: "ITEM_TYPE_XP_BOOST",
12: "ITEM_TYPE_INVENTORY_UPGRADE",
}
var ItemType_value = map[string]int32{
"ITEM_TYPE_NONE": 0,
"ITEM_TYPE_POKEBALL": 1,
"ITEM_TYPE_POTION": 2,
"ITEM_TYPE_REVIVE": 3,
"ITEM_TYPE_MAP": 4,
"ITEM_TYPE_BATTLE": 5,
"ITEM_TYPE_FOOD": 6,
"ITEM_TYPE_CAMERA": 7,
"ITEM_TYPE_DISK": 8,
"ITEM_TYPE_INCUBATOR": 9,
"ITEM_TYPE_INCENSE": 10,
"ITEM_TYPE_XP_BOOST": 11,
"ITEM_TYPE_INVENTORY_UPGRADE": 12,
}
func (x ItemType) String() string {
return proto.EnumName(ItemType_name, int32(x))
}
type ItemData struct {
ItemId ItemId `protobuf:"varint,1,opt,name=item_id,enum=POGOProtos.Inventory.Item.ItemId" json:"item_id,omitempty"`
Count int32 `protobuf:"varint,2,opt,name=count" json:"count,omitempty"`
Unseen bool `protobuf:"varint,3,opt,name=unseen" json:"unseen,omitempty"`
}
func (m *ItemData) Reset() { *m = ItemData{} }
func (m *ItemData) String() string { return proto.CompactTextString(m) }
func (*ItemData) ProtoMessage() {}
type ItemAward struct {
ItemId ItemId `protobuf:"varint,1,opt,name=item_id,enum=POGOProtos.Inventory.Item.ItemId" json:"item_id,omitempty"`
ItemCount int32 `protobuf:"varint,2,opt,name=item_count" json:"item_count,omitempty"`
}
func (m *ItemAward) Reset() { *m = ItemAward{} }
func (m *ItemAward) String() string { return proto.CompactTextString(m) }
func (*ItemAward) ProtoMessage() {}
func init() {
proto.RegisterEnum("POGOProtos.Inventory.Item.ItemId", ItemId_name, ItemId_value)
proto.RegisterEnum("POGOProtos.Inventory.Item.ItemType", ItemType_name, ItemType_value)
}