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
/
maps.pb.go
137 lines (108 loc) · 4.27 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
// Code generated by protoc-gen-go.
// source: maps.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 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 FortData from map_fort.proto
// Ignoring public import of FortRenderingType from map_fort.proto
// Ignoring public import of FortSponsor from map_fort.proto
// Ignoring public import of FortType from map_fort.proto
// Ignoring public import of NearbyPokemon from map_pokemon.proto
// Ignoring public import of MapPokemon 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))
}
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() {}
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:"s2_cell_id,omitempty"`
CurrentTimestampMs int64 `protobuf:"varint,2,opt,name=current_timestamp_ms" 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:"spawn_points,omitempty"`
DeletedObjects []string `protobuf:"bytes,6,rep,name=deleted_objects" json:"deleted_objects,omitempty"`
IsTruncatedList bool `protobuf:"varint,7,opt,name=is_truncated_list" json:"is_truncated_list,omitempty"`
FortSummaries []*FortSummary `protobuf:"bytes,8,rep,name=fort_summaries" json:"fort_summaries,omitempty"`
DecimatedSpawnPoints []*SpawnPoint `protobuf:"bytes,9,rep,name=decimated_spawn_points" json:"decimated_spawn_points,omitempty"`
// Pokemon within 2 steps or less.
WildPokemons []*WildPokemon `protobuf:"bytes,5,rep,name=wild_pokemons" json:"wild_pokemons,omitempty"`
// Pokemon within 1 step or none.
CatchablePokemons []*MapPokemon `protobuf:"bytes,10,rep,name=catchable_pokemons" 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:"nearby_pokemons,omitempty"`
}
func (m *MapCell) Reset() { *m = MapCell{} }
func (m *MapCell) String() string { return proto.CompactTextString(m) }
func (*MapCell) ProtoMessage() {}
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.RegisterEnum("POGOProtos.Map.MapObjectsStatus", MapObjectsStatus_name, MapObjectsStatus_value)
}