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
/
data_logs.pb.go
230 lines (179 loc) · 7.57 KB
/
data_logs.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
// Code generated by protoc-gen-go.
// source: data_logs.proto
// DO NOT EDIT!
/*
Package protos is a generated protocol buffer package.
It is generated from these files:
data_logs.proto
networking_platform_requests.proto
networking_platform_responses.proto
data_player.proto
networking_responses.proto
settings_master_pokemon.proto
inventory_item.proto
data_capture.proto
maps.proto
networking_requests_messages.proto
inventory.proto
networking_requests.proto
enums.proto
data_gym.proto
networking_platform.proto
map_fort.proto
data_battle.proto
networking_envelopes.proto
settings_master.proto
data.proto
settings_master_item.proto
settings.proto
map_pokemon.proto
It has these top-level messages:
FortSearchLogEntry
CatchPokemonLogEntry
ActionLogEntry
BuddyPokemonLogEntry
*/
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 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 FortSearchLogEntry_Result int32
const (
FortSearchLogEntry_UNSET FortSearchLogEntry_Result = 0
FortSearchLogEntry_SUCCESS FortSearchLogEntry_Result = 1
)
var FortSearchLogEntry_Result_name = map[int32]string{
0: "UNSET",
1: "SUCCESS",
}
var FortSearchLogEntry_Result_value = map[string]int32{
"UNSET": 0,
"SUCCESS": 1,
}
func (x FortSearchLogEntry_Result) String() string {
return proto.EnumName(FortSearchLogEntry_Result_name, int32(x))
}
type CatchPokemonLogEntry_Result int32
const (
CatchPokemonLogEntry_UNSET CatchPokemonLogEntry_Result = 0
CatchPokemonLogEntry_POKEMON_CAPTURED CatchPokemonLogEntry_Result = 1
CatchPokemonLogEntry_POKEMON_FLED CatchPokemonLogEntry_Result = 2
CatchPokemonLogEntry_POKEMON_HATCHED CatchPokemonLogEntry_Result = 3
)
var CatchPokemonLogEntry_Result_name = map[int32]string{
0: "UNSET",
1: "POKEMON_CAPTURED",
2: "POKEMON_FLED",
3: "POKEMON_HATCHED",
}
var CatchPokemonLogEntry_Result_value = map[string]int32{
"UNSET": 0,
"POKEMON_CAPTURED": 1,
"POKEMON_FLED": 2,
"POKEMON_HATCHED": 3,
}
func (x CatchPokemonLogEntry_Result) String() string {
return proto.EnumName(CatchPokemonLogEntry_Result_name, int32(x))
}
type BuddyPokemonLogEntry_Result int32
const (
BuddyPokemonLogEntry_UNSET BuddyPokemonLogEntry_Result = 0
BuddyPokemonLogEntry_CANDY_FOUND BuddyPokemonLogEntry_Result = 1
)
var BuddyPokemonLogEntry_Result_name = map[int32]string{
0: "UNSET",
1: "CANDY_FOUND",
}
var BuddyPokemonLogEntry_Result_value = map[string]int32{
"UNSET": 0,
"CANDY_FOUND": 1,
}
func (x BuddyPokemonLogEntry_Result) String() string {
return proto.EnumName(BuddyPokemonLogEntry_Result_name, int32(x))
}
type FortSearchLogEntry struct {
Result FortSearchLogEntry_Result `protobuf:"varint,1,opt,name=result,enum=POGOProtos.Data.Logs.FortSearchLogEntry_Result" json:"result,omitempty"`
FortId string `protobuf:"bytes,2,opt,name=fort_id" json:"fort_id,omitempty"`
Items []*ItemData `protobuf:"bytes,3,rep,name=items" json:"items,omitempty"`
Eggs int32 `protobuf:"varint,4,opt,name=eggs" json:"eggs,omitempty"`
}
func (m *FortSearchLogEntry) Reset() { *m = FortSearchLogEntry{} }
func (m *FortSearchLogEntry) String() string { return proto.CompactTextString(m) }
func (*FortSearchLogEntry) ProtoMessage() {}
func (m *FortSearchLogEntry) GetItems() []*ItemData {
if m != nil {
return m.Items
}
return nil
}
type CatchPokemonLogEntry struct {
Result CatchPokemonLogEntry_Result `protobuf:"varint,1,opt,name=result,enum=POGOProtos.Data.Logs.CatchPokemonLogEntry_Result" json:"result,omitempty"`
PokemonId PokemonId `protobuf:"varint,2,opt,name=pokemon_id,enum=POGOProtos.Enums.PokemonId" json:"pokemon_id,omitempty"`
CombatPoints int32 `protobuf:"varint,3,opt,name=combat_points" json:"combat_points,omitempty"`
PokemonDataId uint64 `protobuf:"fixed64,4,opt,name=pokemon_data_id" json:"pokemon_data_id,omitempty"`
}
func (m *CatchPokemonLogEntry) Reset() { *m = CatchPokemonLogEntry{} }
func (m *CatchPokemonLogEntry) String() string { return proto.CompactTextString(m) }
func (*CatchPokemonLogEntry) ProtoMessage() {}
type ActionLogEntry struct {
TimestampMs int64 `protobuf:"varint,1,opt,name=timestamp_ms" json:"timestamp_ms,omitempty"`
Sfida bool `protobuf:"varint,2,opt,name=sfida" json:"sfida,omitempty"`
CatchPokemon *CatchPokemonLogEntry `protobuf:"bytes,3,opt,name=catch_pokemon" json:"catch_pokemon,omitempty"`
FortSearch *FortSearchLogEntry `protobuf:"bytes,4,opt,name=fort_search" json:"fort_search,omitempty"`
BuddyPokemon *BuddyPokemonLogEntry `protobuf:"bytes,5,opt,name=buddy_pokemon" json:"buddy_pokemon,omitempty"`
}
func (m *ActionLogEntry) Reset() { *m = ActionLogEntry{} }
func (m *ActionLogEntry) String() string { return proto.CompactTextString(m) }
func (*ActionLogEntry) ProtoMessage() {}
func (m *ActionLogEntry) GetCatchPokemon() *CatchPokemonLogEntry {
if m != nil {
return m.CatchPokemon
}
return nil
}
func (m *ActionLogEntry) GetFortSearch() *FortSearchLogEntry {
if m != nil {
return m.FortSearch
}
return nil
}
func (m *ActionLogEntry) GetBuddyPokemon() *BuddyPokemonLogEntry {
if m != nil {
return m.BuddyPokemon
}
return nil
}
type BuddyPokemonLogEntry struct {
Result BuddyPokemonLogEntry_Result `protobuf:"varint,1,opt,name=result,enum=POGOProtos.Data.Logs.BuddyPokemonLogEntry_Result" json:"result,omitempty"`
PokemonId PokemonId `protobuf:"varint,2,opt,name=pokemon_id,enum=POGOProtos.Enums.PokemonId" json:"pokemon_id,omitempty"`
Amount int32 `protobuf:"varint,3,opt,name=amount" json:"amount,omitempty"`
}
func (m *BuddyPokemonLogEntry) Reset() { *m = BuddyPokemonLogEntry{} }
func (m *BuddyPokemonLogEntry) String() string { return proto.CompactTextString(m) }
func (*BuddyPokemonLogEntry) ProtoMessage() {}
func init() {
proto.RegisterEnum("POGOProtos.Data.Logs.FortSearchLogEntry_Result", FortSearchLogEntry_Result_name, FortSearchLogEntry_Result_value)
proto.RegisterEnum("POGOProtos.Data.Logs.CatchPokemonLogEntry_Result", CatchPokemonLogEntry_Result_name, CatchPokemonLogEntry_Result_value)
proto.RegisterEnum("POGOProtos.Data.Logs.BuddyPokemonLogEntry_Result", BuddyPokemonLogEntry_Result_name, BuddyPokemonLogEntry_Result_value)
}