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
/
map_pokemon.pb.go
108 lines (73 loc) · 4.4 KB
/
map_pokemon.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
// Code generated by protoc-gen-go.
// source: map_pokemon.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 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
// 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
type NearbyPokemon struct {
PokemonId PokemonId `protobuf:"varint,1,opt,name=pokemon_id,enum=POGOProtos.Enums.PokemonId" json:"pokemon_id,omitempty"`
DistanceInMeters float32 `protobuf:"fixed32,2,opt,name=distance_in_meters" json:"distance_in_meters,omitempty"`
EncounterId uint64 `protobuf:"fixed64,3,opt,name=encounter_id" json:"encounter_id,omitempty"`
FortId string `protobuf:"bytes,4,opt,name=fort_id" json:"fort_id,omitempty"`
FortImageUrl string `protobuf:"bytes,5,opt,name=fort_image_url" json:"fort_image_url,omitempty"`
}
func (m *NearbyPokemon) Reset() { *m = NearbyPokemon{} }
func (m *NearbyPokemon) String() string { return proto.CompactTextString(m) }
func (*NearbyPokemon) ProtoMessage() {}
type MapPokemon struct {
SpawnPointId string `protobuf:"bytes,1,opt,name=spawn_point_id" json:"spawn_point_id,omitempty"`
EncounterId uint64 `protobuf:"fixed64,2,opt,name=encounter_id" json:"encounter_id,omitempty"`
PokemonId PokemonId `protobuf:"varint,3,opt,name=pokemon_id,enum=POGOProtos.Enums.PokemonId" json:"pokemon_id,omitempty"`
// After this timestamp, the pokemon will be gone.
ExpirationTimestampMs int64 `protobuf:"varint,4,opt,name=expiration_timestamp_ms" json:"expiration_timestamp_ms,omitempty"`
Latitude float64 `protobuf:"fixed64,5,opt,name=latitude" json:"latitude,omitempty"`
Longitude float64 `protobuf:"fixed64,6,opt,name=longitude" json:"longitude,omitempty"`
}
func (m *MapPokemon) Reset() { *m = MapPokemon{} }
func (m *MapPokemon) String() string { return proto.CompactTextString(m) }
func (*MapPokemon) ProtoMessage() {}
type WildPokemon struct {
EncounterId uint64 `protobuf:"fixed64,1,opt,name=encounter_id" json:"encounter_id,omitempty"`
LastModifiedTimestampMs int64 `protobuf:"varint,2,opt,name=last_modified_timestamp_ms" json:"last_modified_timestamp_ms,omitempty"`
Latitude float64 `protobuf:"fixed64,3,opt,name=latitude" json:"latitude,omitempty"`
Longitude float64 `protobuf:"fixed64,4,opt,name=longitude" json:"longitude,omitempty"`
SpawnPointId string `protobuf:"bytes,5,opt,name=spawn_point_id" json:"spawn_point_id,omitempty"`
PokemonData *PokemonData `protobuf:"bytes,7,opt,name=pokemon_data" json:"pokemon_data,omitempty"`
TimeTillHiddenMs int32 `protobuf:"varint,11,opt,name=time_till_hidden_ms" json:"time_till_hidden_ms,omitempty"`
}
func (m *WildPokemon) Reset() { *m = WildPokemon{} }
func (m *WildPokemon) String() string { return proto.CompactTextString(m) }
func (*WildPokemon) ProtoMessage() {}
func (m *WildPokemon) GetPokemonData() *PokemonData {
if m != nil {
return m.PokemonData
}
return nil
}
func init() {
}