forked from pogodevorg/POGOProtos-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
maps.pb.go
185 lines (154 loc) · 8.2 KB
/
maps.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
// Code generated by protoc-gen-go.
// source: maps.proto
// DO NOT EDIT!
package protos
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// Ignoring public import of FortData from map_fort.proto
// Ignoring public import of FortSummary from map_fort.proto
// Ignoring public import of FortLureInfo from map_fort.proto
// Ignoring public import of FortModifier from map_fort.proto
// Ignoring public import of FortType from map_fort.proto
// Ignoring public import of FortSponsor from map_fort.proto
// Ignoring public import of FortRenderingType from map_fort.proto
// Ignoring public import of MapPokemon from map_pokemon.proto
// Ignoring public import of NearbyPokemon from map_pokemon.proto
// Ignoring public import of WildPokemon from map_pokemon.proto
type MapObjectsStatus int32
const (
MapObjectsStatus_UNSET_STATUS MapObjectsStatus = 0
MapObjectsStatus_SUCCESS MapObjectsStatus = 1
MapObjectsStatus_LOCATION_UNSET MapObjectsStatus = 2
)
var MapObjectsStatus_name = map[int32]string{
0: "UNSET_STATUS",
1: "SUCCESS",
2: "LOCATION_UNSET",
}
var MapObjectsStatus_value = map[string]int32{
"UNSET_STATUS": 0,
"SUCCESS": 1,
"LOCATION_UNSET": 2,
}
func (x MapObjectsStatus) String() string {
return proto.EnumName(MapObjectsStatus_name, int32(x))
}
func (MapObjectsStatus) EnumDescriptor() ([]byte, []int) { return fileDescriptor10, []int{0} }
type SpawnPoint struct {
Latitude float64 `protobuf:"fixed64,2,opt,name=latitude" json:"latitude,omitempty"`
Longitude float64 `protobuf:"fixed64,3,opt,name=longitude" json:"longitude,omitempty"`
}
func (m *SpawnPoint) Reset() { *m = SpawnPoint{} }
func (m *SpawnPoint) String() string { return proto.CompactTextString(m) }
func (*SpawnPoint) ProtoMessage() {}
func (*SpawnPoint) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{0} }
type MapCell struct {
// S2 geographic area that the cell covers (http://s2map.com/) (https://code.google.com/archive/p/s2-geometry-library/)
S2CellId uint64 `protobuf:"varint,1,opt,name=s2_cell_id,json=s2CellId" json:"s2_cell_id,omitempty"`
CurrentTimestampMs int64 `protobuf:"varint,2,opt,name=current_timestamp_ms,json=currentTimestampMs" json:"current_timestamp_ms,omitempty"`
Forts []*FortData `protobuf:"bytes,3,rep,name=forts" json:"forts,omitempty"`
SpawnPoints []*SpawnPoint `protobuf:"bytes,4,rep,name=spawn_points,json=spawnPoints" json:"spawn_points,omitempty"`
DeletedObjects []string `protobuf:"bytes,6,rep,name=deleted_objects,json=deletedObjects" json:"deleted_objects,omitempty"`
IsTruncatedList bool `protobuf:"varint,7,opt,name=is_truncated_list,json=isTruncatedList" json:"is_truncated_list,omitempty"`
FortSummaries []*FortSummary `protobuf:"bytes,8,rep,name=fort_summaries,json=fortSummaries" json:"fort_summaries,omitempty"`
DecimatedSpawnPoints []*SpawnPoint `protobuf:"bytes,9,rep,name=decimated_spawn_points,json=decimatedSpawnPoints" json:"decimated_spawn_points,omitempty"`
// Pokemon within 2 steps or less.
WildPokemons []*WildPokemon `protobuf:"bytes,5,rep,name=wild_pokemons,json=wildPokemons" json:"wild_pokemons,omitempty"`
// Pokemon within 1 step or none.
CatchablePokemons []*MapPokemon `protobuf:"bytes,10,rep,name=catchable_pokemons,json=catchablePokemons" json:"catchable_pokemons,omitempty"`
// Pokemon farther away than 2 steps, but still in the area.
NearbyPokemons []*NearbyPokemon `protobuf:"bytes,11,rep,name=nearby_pokemons,json=nearbyPokemons" json:"nearby_pokemons,omitempty"`
}
func (m *MapCell) Reset() { *m = MapCell{} }
func (m *MapCell) String() string { return proto.CompactTextString(m) }
func (*MapCell) ProtoMessage() {}
func (*MapCell) Descriptor() ([]byte, []int) { return fileDescriptor10, []int{1} }
func (m *MapCell) GetForts() []*FortData {
if m != nil {
return m.Forts
}
return nil
}
func (m *MapCell) GetSpawnPoints() []*SpawnPoint {
if m != nil {
return m.SpawnPoints
}
return nil
}
func (m *MapCell) GetFortSummaries() []*FortSummary {
if m != nil {
return m.FortSummaries
}
return nil
}
func (m *MapCell) GetDecimatedSpawnPoints() []*SpawnPoint {
if m != nil {
return m.DecimatedSpawnPoints
}
return nil
}
func (m *MapCell) GetWildPokemons() []*WildPokemon {
if m != nil {
return m.WildPokemons
}
return nil
}
func (m *MapCell) GetCatchablePokemons() []*MapPokemon {
if m != nil {
return m.CatchablePokemons
}
return nil
}
func (m *MapCell) GetNearbyPokemons() []*NearbyPokemon {
if m != nil {
return m.NearbyPokemons
}
return nil
}
func init() {
proto.RegisterType((*SpawnPoint)(nil), "POGOProtos.Map.SpawnPoint")
proto.RegisterType((*MapCell)(nil), "POGOProtos.Map.MapCell")
proto.RegisterEnum("POGOProtos.Map.MapObjectsStatus", MapObjectsStatus_name, MapObjectsStatus_value)
}
func init() { proto.RegisterFile("maps.proto", fileDescriptor10) }
var fileDescriptor10 = []byte{
// 519 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x84, 0x93, 0xe1, 0x4f, 0xda, 0x40,
0x18, 0xc6, 0x45, 0x44, 0xe0, 0x05, 0x0b, 0x5c, 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