├── .gitignore ├── .travis.yml ├── README.md ├── update.sh ├── networking_platform_requests.pb.go ├── networking_platform.pb.go ├── data_capture.pb.go ├── data_gym.pb.go ├── settings_master_pokemon.pb.go ├── map_pokemon.pb.go ├── maps.pb.go ├── settings.pb.go ├── inventory_item.pb.go ├── map_fort.pb.go ├── networking_platform_responses.pb.go ├── data_logs.pb.go ├── data_player.pb.go ├── settings_master_item.pb.go ├── networking_requests.pb.go ├── data_battle.pb.go ├── data.pb.go ├── inventory.pb.go ├── networking_envelopes.pb.go ├── settings_master.pb.go └── networking_requests_messages.pb.go /.gitignore: -------------------------------------------------------------------------------- 1 | POGOProtos 2 | .gitmodules 3 | .git/modules/POGOProtos -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.7 5 | 6 | # Disable the default submodule logic 7 | git: 8 | submodules: false 9 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Pokémon Go Protobuffers for Golang 2 | Exported from and maintained at https://github.com/AeonLucid/POGOProtos 3 | 4 | ## Usage 5 | 6 | ```go 7 | package main 8 | 9 | import ( 10 | "fmt" 11 | protos "github.com/pogodevorg/POGOProtos-go" 12 | ) 13 | 14 | func main() { 15 | fmt.Println(protos.TeamColor_BLUE) 16 | } 17 | ``` 18 | 19 | ## Update this repository 20 | Install the Go protoc extensions through `go get` 21 | 22 | ```bash 23 | go get -u github.com/golang/protobuf/{proto,protoc-gen-go} 24 | ``` 25 | 26 | Run the update script which will commit any changes. 27 | 28 | ```bash 29 | $ ./update.sh 30 | ``` 31 | -------------------------------------------------------------------------------- /update.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Configure script 4 | protos_repo="git@github.com:AeonLucid/POGOProtos.git" 5 | 6 | # Collect paths of current script 7 | origin_dir=$(pwd) 8 | script_path=$(stat -f "%N" "$0") 9 | base_dir=$(dirname $script_path) 10 | 11 | # Collect full path of the submodule and base directory 12 | cd $base_dir 13 | base_dir=$(pwd) 14 | protos_dir="$base_dir/POGOProtos" 15 | 16 | # Get the project 17 | if ! [ -d "$protos_dir" ]; then 18 | git clone $protos_repo $protos_dir 19 | else 20 | cd $protos_dir 21 | git pull 22 | fi 23 | 24 | # Compile protobuffers and clean submodule 25 | cd $protos_dir 26 | current_commit=$(git rev-parse HEAD) 27 | declare -a current_tags=($(git tag -l --contains $(git rev-parse HEAD))) 28 | python ./compile_single.py -l=go --out_path=$base_dir 29 | rm -rf "$protos_dir/tmp" 30 | 31 | # Return back to original directory 32 | cd $origin_dir 33 | 34 | git add -A 35 | git commit -m "Update POGOProtos $current_commit" 36 | 37 | for tag in "${current_tags[@]}"; do 38 | git tag $tag 39 | done 40 | -------------------------------------------------------------------------------- /networking_platform_requests.pb.go: -------------------------------------------------------------------------------- 1 | // Code generated by protoc-gen-go. 2 | // source: networking_platform_requests.proto 3 | // DO NOT EDIT! 4 | 5 | package protos 6 | 7 | import proto "github.com/golang/protobuf/proto" 8 | 9 | // Reference imports to suppress errors if they are not otherwise used. 10 | var _ = proto.Marshal 11 | 12 | type BuyItemAndroidRequest struct { 13 | BuyItemIntent string `protobuf:"bytes,1,opt,name=buy_item_intent" json:"buy_item_intent,omitempty"` 14 | } 15 | 16 | func (m *BuyItemAndroidRequest) Reset() { *m = BuyItemAndroidRequest{} } 17 | func (m *BuyItemAndroidRequest) String() string { return proto.CompactTextString(m) } 18 | func (*BuyItemAndroidRequest) ProtoMessage() {} 19 | 20 | type BuyItemPokeCoinsRequest struct { 21 | ItemId string `protobuf:"bytes,1,opt,name=item_id" json:"item_id,omitempty"` 22 | } 23 | 24 | func (m *BuyItemPokeCoinsRequest) Reset() { *m = BuyItemPokeCoinsRequest{} } 25 | func (m *BuyItemPokeCoinsRequest) String() string { return proto.CompactTextString(m) } 26 | func (*BuyItemPokeCoinsRequest) ProtoMessage() {} 27 | 28 | type SendEncryptedSignatureRequest struct { 29 | EncryptedSignature []byte `protobuf:"bytes,1,opt,name=encrypted_signature,proto3" json:"encrypted_signature,omitempty"` 30 | } 31 | 32 | func (m *SendEncryptedSignatureRequest) Reset() { *m = SendEncryptedSignatureRequest{} } 33 | func (m *SendEncryptedSignatureRequest) String() string { return proto.CompactTextString(m) } 34 | func (*SendEncryptedSignatureRequest) ProtoMessage() {} 35 | 36 | func init() { 37 | } 38 | -------------------------------------------------------------------------------- /networking_platform.pb.go: -------------------------------------------------------------------------------- 1 | // Code generated by protoc-gen-go. 2 | // source: networking_platform.proto 3 | // DO NOT EDIT! 4 | 5 | package protos 6 | 7 | import proto "github.com/golang/protobuf/proto" 8 | 9 | // Reference imports to suppress errors if they are not otherwise used. 10 | var _ = proto.Marshal 11 | 12 | type PlatformRequestType int32 13 | 14 | const ( 15 | PlatformRequestType_METHOD_UNSET PlatformRequestType = 0 16 | PlatformRequestType_BUY_ITEM_POKECOINS PlatformRequestType = 2 17 | PlatformRequestType_BUY_ITEM_ANDROID PlatformRequestType = 3 18 | PlatformRequestType_BUY_ITEM_IOS PlatformRequestType = 4 19 | PlatformRequestType_GET_STORE_ITEMS PlatformRequestType = 5 20 | PlatformRequestType_SEND_ENCRYPTED_SIGNATURE PlatformRequestType = 6 21 | ) 22 | 23 | var PlatformRequestType_name = map[int32]string{ 24 | 0: "METHOD_UNSET", 25 | 2: "BUY_ITEM_POKECOINS", 26 | 3: "BUY_ITEM_ANDROID", 27 | 4: "BUY_ITEM_IOS", 28 | 5: "GET_STORE_ITEMS", 29 | 6: "SEND_ENCRYPTED_SIGNATURE", 30 | } 31 | var PlatformRequestType_value = map[string]int32{ 32 | "METHOD_UNSET": 0, 33 | "BUY_ITEM_POKECOINS": 2, 34 | "BUY_ITEM_ANDROID": 3, 35 | "BUY_ITEM_IOS": 4, 36 | "GET_STORE_ITEMS": 5, 37 | "SEND_ENCRYPTED_SIGNATURE": 6, 38 | } 39 | 40 | func (x PlatformRequestType) String() string { 41 | return proto.EnumName(PlatformRequestType_name, int32(x)) 42 | } 43 | 44 | func init() { 45 | proto.RegisterEnum("POGOProtos.Networking.Platform.PlatformRequestType", PlatformRequestType_name, PlatformRequestType_value) 46 | } 47 | -------------------------------------------------------------------------------- /data_capture.pb.go: -------------------------------------------------------------------------------- 1 | // Code generated by protoc-gen-go. 2 | // source: data_capture.proto 3 | // DO NOT EDIT! 4 | 5 | package protos 6 | 7 | import proto "github.com/golang/protobuf/proto" 8 | 9 | // Reference imports to suppress errors if they are not otherwise used. 10 | var _ = proto.Marshal 11 | 12 | // Ignoring public import of ItemData from inventory_item.proto 13 | 14 | // Ignoring public import of ItemAward from inventory_item.proto 15 | 16 | // Ignoring public import of ItemId from inventory_item.proto 17 | 18 | // Ignoring public import of ItemType from inventory_item.proto 19 | 20 | // Ignoring public import of BadgeType from enums.proto 21 | 22 | // Ignoring public import of TutorialState from enums.proto 23 | 24 | // Ignoring public import of PokemonId from enums.proto 25 | 26 | // Ignoring public import of PokemonMovementType from enums.proto 27 | 28 | // Ignoring public import of Gender from enums.proto 29 | 30 | // Ignoring public import of ActivityType from enums.proto 31 | 32 | // Ignoring public import of CameraTarget from enums.proto 33 | 34 | // Ignoring public import of PokemonFamilyId from enums.proto 35 | 36 | // Ignoring public import of ItemCategory from enums.proto 37 | 38 | // Ignoring public import of CameraInterpolation from enums.proto 39 | 40 | // Ignoring public import of Platform from enums.proto 41 | 42 | // Ignoring public import of TeamColor from enums.proto 43 | 44 | // Ignoring public import of PokemonMove from enums.proto 45 | 46 | // Ignoring public import of ItemEffect from enums.proto 47 | 48 | // Ignoring public import of PokemonType from enums.proto 49 | 50 | // Ignoring public import of HoloIapItemCategory from enums.proto 51 | 52 | // Ignoring public import of PokemonRarity from enums.proto 53 | 54 | type CaptureProbability struct { 55 | PokeballType []ItemId `protobuf:"varint,1,rep,packed,name=pokeball_type,enum=POGOProtos.Inventory.Item.ItemId" json:"pokeball_type,omitempty"` 56 | CaptureProbability []float32 `protobuf:"fixed32,2,rep,packed,name=capture_probability" json:"capture_probability,omitempty"` 57 | ReticleDifficultyScale float64 `protobuf:"fixed64,12,opt,name=reticle_difficulty_scale" json:"reticle_difficulty_scale,omitempty"` 58 | } 59 | 60 | func (m *CaptureProbability) Reset() { *m = CaptureProbability{} } 61 | func (m *CaptureProbability) String() string { return proto.CompactTextString(m) } 62 | func (*CaptureProbability) ProtoMessage() {} 63 | 64 | type CaptureAward struct { 65 | ActivityType []ActivityType `protobuf:"varint,1,rep,packed,name=activity_type,enum=POGOProtos.Enums.ActivityType" json:"activity_type,omitempty"` 66 | Xp []int32 `protobuf:"varint,2,rep,packed,name=xp" json:"xp,omitempty"` 67 | Candy []int32 `protobuf:"varint,3,rep,packed,name=candy" json:"candy,omitempty"` 68 | Stardust []int32 `protobuf:"varint,4,rep,packed,name=stardust" json:"stardust,omitempty"` 69 | } 70 | 71 | func (m *CaptureAward) Reset() { *m = CaptureAward{} } 72 | func (m *CaptureAward) String() string { return proto.CompactTextString(m) } 73 | func (*CaptureAward) ProtoMessage() {} 74 | 75 | func init() { 76 | } 77 | -------------------------------------------------------------------------------- /data_gym.pb.go: -------------------------------------------------------------------------------- 1 | // Code generated by protoc-gen-go. 2 | // source: data_gym.proto 3 | // DO NOT EDIT! 4 | 5 | package protos 6 | 7 | import proto "github.com/golang/protobuf/proto" 8 | 9 | // Reference imports to suppress errors if they are not otherwise used. 10 | var _ = proto.Marshal 11 | 12 | // Ignoring public import of FortSummary from map_fort.proto 13 | 14 | // Ignoring public import of FortLureInfo from map_fort.proto 15 | 16 | // Ignoring public import of FortModifier from map_fort.proto 17 | 18 | // Ignoring public import of FortData from map_fort.proto 19 | 20 | // Ignoring public import of FortRenderingType from map_fort.proto 21 | 22 | // Ignoring public import of FortSponsor from map_fort.proto 23 | 24 | // Ignoring public import of FortType from map_fort.proto 25 | 26 | // Ignoring public import of PokedexEntry from data.proto 27 | 28 | // Ignoring public import of PlayerData from data.proto 29 | 30 | // Ignoring public import of DownloadUrlEntry from data.proto 31 | 32 | // Ignoring public import of AssetDigestEntry from data.proto 33 | 34 | // Ignoring public import of PlayerBadge from data.proto 35 | 36 | // Ignoring public import of PokemonData from data.proto 37 | 38 | // Ignoring public import of BuddyPokemon from data.proto 39 | 40 | // Ignoring public import of ContactSettings from data_player.proto 41 | 42 | // Ignoring public import of PlayerAvatar from data_player.proto 43 | 44 | // Ignoring public import of Currency from data_player.proto 45 | 46 | // Ignoring public import of EquippedBadge from data_player.proto 47 | 48 | // Ignoring public import of PlayerStats from data_player.proto 49 | 50 | // Ignoring public import of PlayerCamera from data_player.proto 51 | 52 | // Ignoring public import of PlayerCurrency from data_player.proto 53 | 54 | // Ignoring public import of PlayerPublicProfile from data_player.proto 55 | 56 | // Ignoring public import of DailyBonus from data_player.proto 57 | 58 | type GymState struct { 59 | FortData *FortData `protobuf:"bytes,1,opt,name=fort_data" json:"fort_data,omitempty"` 60 | Memberships []*GymMembership `protobuf:"bytes,2,rep,name=memberships" json:"memberships,omitempty"` 61 | } 62 | 63 | func (m *GymState) Reset() { *m = GymState{} } 64 | func (m *GymState) String() string { return proto.CompactTextString(m) } 65 | func (*GymState) ProtoMessage() {} 66 | 67 | func (m *GymState) GetFortData() *FortData { 68 | if m != nil { 69 | return m.FortData 70 | } 71 | return nil 72 | } 73 | 74 | func (m *GymState) GetMemberships() []*GymMembership { 75 | if m != nil { 76 | return m.Memberships 77 | } 78 | return nil 79 | } 80 | 81 | type GymMembership struct { 82 | PokemonData *PokemonData `protobuf:"bytes,1,opt,name=pokemon_data" json:"pokemon_data,omitempty"` 83 | TrainerPublicProfile *PlayerPublicProfile `protobuf:"bytes,2,opt,name=trainer_public_profile" json:"trainer_public_profile,omitempty"` 84 | } 85 | 86 | func (m *GymMembership) Reset() { *m = GymMembership{} } 87 | func (m *GymMembership) String() string { return proto.CompactTextString(m) } 88 | func (*GymMembership) ProtoMessage() {} 89 | 90 | func (m *GymMembership) GetPokemonData() *PokemonData { 91 | if m != nil { 92 | return m.PokemonData 93 | } 94 | return nil 95 | } 96 | 97 | func (m *GymMembership) GetTrainerPublicProfile() *PlayerPublicProfile { 98 | if m != nil { 99 | return m.TrainerPublicProfile 100 | } 101 | return nil 102 | } 103 | 104 | func init() { 105 | } 106 | -------------------------------------------------------------------------------- /settings_master_pokemon.pb.go: -------------------------------------------------------------------------------- 1 | // Code generated by protoc-gen-go. 2 | // source: settings_master_pokemon.proto 3 | // DO NOT EDIT! 4 | 5 | package protos 6 | 7 | import proto "github.com/golang/protobuf/proto" 8 | 9 | // Reference imports to suppress errors if they are not otherwise used. 10 | var _ = proto.Marshal 11 | 12 | // Ignoring public import of BadgeType from enums.proto 13 | 14 | // Ignoring public import of TutorialState from enums.proto 15 | 16 | // Ignoring public import of PokemonId from enums.proto 17 | 18 | // Ignoring public import of PokemonMovementType from enums.proto 19 | 20 | // Ignoring public import of Gender from enums.proto 21 | 22 | // Ignoring public import of ActivityType from enums.proto 23 | 24 | // Ignoring public import of CameraTarget from enums.proto 25 | 26 | // Ignoring public import of PokemonFamilyId from enums.proto 27 | 28 | // Ignoring public import of ItemCategory from enums.proto 29 | 30 | // Ignoring public import of CameraInterpolation from enums.proto 31 | 32 | // Ignoring public import of Platform from enums.proto 33 | 34 | // Ignoring public import of TeamColor from enums.proto 35 | 36 | // Ignoring public import of PokemonMove from enums.proto 37 | 38 | // Ignoring public import of ItemEffect from enums.proto 39 | 40 | // Ignoring public import of PokemonType from enums.proto 41 | 42 | // Ignoring public import of HoloIapItemCategory from enums.proto 43 | 44 | // Ignoring public import of PokemonRarity from enums.proto 45 | 46 | type CameraAttributes struct { 47 | DiskRadiusM float32 `protobuf:"fixed32,1,opt,name=disk_radius_m" json:"disk_radius_m,omitempty"` 48 | CylinderRadiusM float32 `protobuf:"fixed32,2,opt,name=cylinder_radius_m" json:"cylinder_radius_m,omitempty"` 49 | CylinderHeightM float32 `protobuf:"fixed32,3,opt,name=cylinder_height_m" json:"cylinder_height_m,omitempty"` 50 | CylinderGroundM float32 `protobuf:"fixed32,4,opt,name=cylinder_ground_m" json:"cylinder_ground_m,omitempty"` 51 | ShoulderModeScale float32 `protobuf:"fixed32,5,opt,name=shoulder_mode_scale" json:"shoulder_mode_scale,omitempty"` 52 | } 53 | 54 | func (m *CameraAttributes) Reset() { *m = CameraAttributes{} } 55 | func (m *CameraAttributes) String() string { return proto.CompactTextString(m) } 56 | func (*CameraAttributes) ProtoMessage() {} 57 | 58 | type EncounterAttributes struct { 59 | BaseCaptureRate float32 `protobuf:"fixed32,1,opt,name=base_capture_rate" json:"base_capture_rate,omitempty"` 60 | BaseFleeRate float32 `protobuf:"fixed32,2,opt,name=base_flee_rate" json:"base_flee_rate,omitempty"` 61 | CollisionRadiusM float32 `protobuf:"fixed32,3,opt,name=collision_radius_m" json:"collision_radius_m,omitempty"` 62 | CollisionHeightM float32 `protobuf:"fixed32,4,opt,name=collision_height_m" json:"collision_height_m,omitempty"` 63 | CollisionHeadRadiusM float32 `protobuf:"fixed32,5,opt,name=collision_head_radius_m" json:"collision_head_radius_m,omitempty"` 64 | MovementType PokemonMovementType `protobuf:"varint,6,opt,name=movement_type,enum=POGOProtos.Enums.PokemonMovementType" json:"movement_type,omitempty"` 65 | MovementTimerS float32 `protobuf:"fixed32,7,opt,name=movement_timer_s" json:"movement_timer_s,omitempty"` 66 | JumpTimeS float32 `protobuf:"fixed32,8,opt,name=jump_time_s" json:"jump_time_s,omitempty"` 67 | AttackTimerS float32 `protobuf:"fixed32,9,opt,name=attack_timer_s" json:"attack_timer_s,omitempty"` 68 | } 69 | 70 | func (m *EncounterAttributes) Reset() { *m = EncounterAttributes{} } 71 | func (m *EncounterAttributes) String() string { return proto.CompactTextString(m) } 72 | func (*EncounterAttributes) ProtoMessage() {} 73 | 74 | type StatsAttributes struct { 75 | BaseStamina int32 `protobuf:"varint,1,opt,name=base_stamina" json:"base_stamina,omitempty"` 76 | BaseAttack int32 `protobuf:"varint,2,opt,name=base_attack" json:"base_attack,omitempty"` 77 | BaseDefense int32 `protobuf:"varint,3,opt,name=base_defense" json:"base_defense,omitempty"` 78 | DodgeEnergyDelta int32 `protobuf:"varint,8,opt,name=dodge_energy_delta" json:"dodge_energy_delta,omitempty"` 79 | } 80 | 81 | func (m *StatsAttributes) Reset() { *m = StatsAttributes{} } 82 | func (m *StatsAttributes) String() string { return proto.CompactTextString(m) } 83 | func (*StatsAttributes) ProtoMessage() {} 84 | 85 | func init() { 86 | } 87 | -------------------------------------------------------------------------------- /map_pokemon.pb.go: -------------------------------------------------------------------------------- 1 | // Code generated by protoc-gen-go. 2 | // source: map_pokemon.proto 3 | // DO NOT EDIT! 4 | 5 | package protos 6 | 7 | import proto "github.com/golang/protobuf/proto" 8 | 9 | // Reference imports to suppress errors if they are not otherwise used. 10 | var _ = proto.Marshal 11 | 12 | // Ignoring public import of BadgeType from enums.proto 13 | 14 | // Ignoring public import of TutorialState from enums.proto 15 | 16 | // Ignoring public import of PokemonId from enums.proto 17 | 18 | // Ignoring public import of PokemonMovementType from enums.proto 19 | 20 | // Ignoring public import of Gender from enums.proto 21 | 22 | // Ignoring public import of ActivityType from enums.proto 23 | 24 | // Ignoring public import of CameraTarget from enums.proto 25 | 26 | // Ignoring public import of PokemonFamilyId from enums.proto 27 | 28 | // Ignoring public import of ItemCategory from enums.proto 29 | 30 | // Ignoring public import of CameraInterpolation from enums.proto 31 | 32 | // Ignoring public import of Platform from enums.proto 33 | 34 | // Ignoring public import of TeamColor from enums.proto 35 | 36 | // Ignoring public import of PokemonMove from enums.proto 37 | 38 | // Ignoring public import of ItemEffect from enums.proto 39 | 40 | // Ignoring public import of PokemonType from enums.proto 41 | 42 | // Ignoring public import of HoloIapItemCategory from enums.proto 43 | 44 | // Ignoring public import of PokemonRarity from enums.proto 45 | 46 | // Ignoring public import of PokedexEntry from data.proto 47 | 48 | // Ignoring public import of PlayerData from data.proto 49 | 50 | // Ignoring public import of DownloadUrlEntry from data.proto 51 | 52 | // Ignoring public import of AssetDigestEntry from data.proto 53 | 54 | // Ignoring public import of PlayerBadge from data.proto 55 | 56 | // Ignoring public import of PokemonData from data.proto 57 | 58 | // Ignoring public import of BuddyPokemon from data.proto 59 | 60 | type NearbyPokemon struct { 61 | PokemonId PokemonId `protobuf:"varint,1,opt,name=pokemon_id,enum=POGOProtos.Enums.PokemonId" json:"pokemon_id,omitempty"` 62 | DistanceInMeters float32 `protobuf:"fixed32,2,opt,name=distance_in_meters" json:"distance_in_meters,omitempty"` 63 | EncounterId uint64 `protobuf:"fixed64,3,opt,name=encounter_id" json:"encounter_id,omitempty"` 64 | FortId string `protobuf:"bytes,4,opt,name=fort_id" json:"fort_id,omitempty"` 65 | FortImageUrl string `protobuf:"bytes,5,opt,name=fort_image_url" json:"fort_image_url,omitempty"` 66 | } 67 | 68 | func (m *NearbyPokemon) Reset() { *m = NearbyPokemon{} } 69 | func (m *NearbyPokemon) String() string { return proto.CompactTextString(m) } 70 | func (*NearbyPokemon) ProtoMessage() {} 71 | 72 | type MapPokemon struct { 73 | SpawnPointId string `protobuf:"bytes,1,opt,name=spawn_point_id" json:"spawn_point_id,omitempty"` 74 | EncounterId uint64 `protobuf:"fixed64,2,opt,name=encounter_id" json:"encounter_id,omitempty"` 75 | PokemonId PokemonId `protobuf:"varint,3,opt,name=pokemon_id,enum=POGOProtos.Enums.PokemonId" json:"pokemon_id,omitempty"` 76 | // After this timestamp, the pokemon will be gone. 77 | ExpirationTimestampMs int64 `protobuf:"varint,4,opt,name=expiration_timestamp_ms" json:"expiration_timestamp_ms,omitempty"` 78 | Latitude float64 `protobuf:"fixed64,5,opt,name=latitude" json:"latitude,omitempty"` 79 | Longitude float64 `protobuf:"fixed64,6,opt,name=longitude" json:"longitude,omitempty"` 80 | } 81 | 82 | func (m *MapPokemon) Reset() { *m = MapPokemon{} } 83 | func (m *MapPokemon) String() string { return proto.CompactTextString(m) } 84 | func (*MapPokemon) ProtoMessage() {} 85 | 86 | type WildPokemon struct { 87 | EncounterId uint64 `protobuf:"fixed64,1,opt,name=encounter_id" json:"encounter_id,omitempty"` 88 | LastModifiedTimestampMs int64 `protobuf:"varint,2,opt,name=last_modified_timestamp_ms" json:"last_modified_timestamp_ms,omitempty"` 89 | Latitude float64 `protobuf:"fixed64,3,opt,name=latitude" json:"latitude,omitempty"` 90 | Longitude float64 `protobuf:"fixed64,4,opt,name=longitude" json:"longitude,omitempty"` 91 | SpawnPointId string `protobuf:"bytes,5,opt,name=spawn_point_id" json:"spawn_point_id,omitempty"` 92 | PokemonData *PokemonData `protobuf:"bytes,7,opt,name=pokemon_data" json:"pokemon_data,omitempty"` 93 | TimeTillHiddenMs int32 `protobuf:"varint,11,opt,name=time_till_hidden_ms" json:"time_till_hidden_ms,omitempty"` 94 | } 95 | 96 | func (m *WildPokemon) Reset() { *m = WildPokemon{} } 97 | func (m *WildPokemon) String() string { return proto.CompactTextString(m) } 98 | func (*WildPokemon) ProtoMessage() {} 99 | 100 | func (m *WildPokemon) GetPokemonData() *PokemonData { 101 | if m != nil { 102 | return m.PokemonData 103 | } 104 | return nil 105 | } 106 | 107 | func init() { 108 | } 109 | -------------------------------------------------------------------------------- /maps.pb.go: -------------------------------------------------------------------------------- 1 | // Code generated by protoc-gen-go. 2 | // source: maps.proto 3 | // DO NOT EDIT! 4 | 5 | package protos 6 | 7 | import proto "github.com/golang/protobuf/proto" 8 | 9 | // Reference imports to suppress errors if they are not otherwise used. 10 | var _ = proto.Marshal 11 | 12 | // Ignoring public import of FortSummary from map_fort.proto 13 | 14 | // Ignoring public import of FortLureInfo from map_fort.proto 15 | 16 | // Ignoring public import of FortModifier from map_fort.proto 17 | 18 | // Ignoring public import of FortData from map_fort.proto 19 | 20 | // Ignoring public import of FortRenderingType from map_fort.proto 21 | 22 | // Ignoring public import of FortSponsor from map_fort.proto 23 | 24 | // Ignoring public import of FortType from map_fort.proto 25 | 26 | // Ignoring public import of NearbyPokemon from map_pokemon.proto 27 | 28 | // Ignoring public import of MapPokemon from map_pokemon.proto 29 | 30 | // Ignoring public import of WildPokemon from map_pokemon.proto 31 | 32 | type MapObjectsStatus int32 33 | 34 | const ( 35 | MapObjectsStatus_UNSET_STATUS MapObjectsStatus = 0 36 | MapObjectsStatus_SUCCESS MapObjectsStatus = 1 37 | MapObjectsStatus_LOCATION_UNSET MapObjectsStatus = 2 38 | ) 39 | 40 | var MapObjectsStatus_name = map[int32]string{ 41 | 0: "UNSET_STATUS", 42 | 1: "SUCCESS", 43 | 2: "LOCATION_UNSET", 44 | } 45 | var MapObjectsStatus_value = map[string]int32{ 46 | "UNSET_STATUS": 0, 47 | "SUCCESS": 1, 48 | "LOCATION_UNSET": 2, 49 | } 50 | 51 | func (x MapObjectsStatus) String() string { 52 | return proto.EnumName(MapObjectsStatus_name, int32(x)) 53 | } 54 | 55 | type SpawnPoint struct { 56 | Latitude float64 `protobuf:"fixed64,2,opt,name=latitude" json:"latitude,omitempty"` 57 | Longitude float64 `protobuf:"fixed64,3,opt,name=longitude" json:"longitude,omitempty"` 58 | } 59 | 60 | func (m *SpawnPoint) Reset() { *m = SpawnPoint{} } 61 | func (m *SpawnPoint) String() string { return proto.CompactTextString(m) } 62 | func (*SpawnPoint) ProtoMessage() {} 63 | 64 | type MapCell struct { 65 | // S2 geographic area that the cell covers (http://s2map.com/) (https://code.google.com/archive/p/s2-geometry-library/) 66 | S2CellId uint64 `protobuf:"varint,1,opt,name=s2_cell_id" json:"s2_cell_id,omitempty"` 67 | CurrentTimestampMs int64 `protobuf:"varint,2,opt,name=current_timestamp_ms" json:"current_timestamp_ms,omitempty"` 68 | Forts []*FortData `protobuf:"bytes,3,rep,name=forts" json:"forts,omitempty"` 69 | SpawnPoints []*SpawnPoint `protobuf:"bytes,4,rep,name=spawn_points" json:"spawn_points,omitempty"` 70 | DeletedObjects []string `protobuf:"bytes,6,rep,name=deleted_objects" json:"deleted_objects,omitempty"` 71 | IsTruncatedList bool `protobuf:"varint,7,opt,name=is_truncated_list" json:"is_truncated_list,omitempty"` 72 | FortSummaries []*FortSummary `protobuf:"bytes,8,rep,name=fort_summaries" json:"fort_summaries,omitempty"` 73 | DecimatedSpawnPoints []*SpawnPoint `protobuf:"bytes,9,rep,name=decimated_spawn_points" json:"decimated_spawn_points,omitempty"` 74 | // Pokemon within 2 steps or less. 75 | WildPokemons []*WildPokemon `protobuf:"bytes,5,rep,name=wild_pokemons" json:"wild_pokemons,omitempty"` 76 | // Pokemon within 1 step or none. 77 | CatchablePokemons []*MapPokemon `protobuf:"bytes,10,rep,name=catchable_pokemons" json:"catchable_pokemons,omitempty"` 78 | // Pokemon farther away than 2 steps, but still in the area. 79 | NearbyPokemons []*NearbyPokemon `protobuf:"bytes,11,rep,name=nearby_pokemons" json:"nearby_pokemons,omitempty"` 80 | } 81 | 82 | func (m *MapCell) Reset() { *m = MapCell{} } 83 | func (m *MapCell) String() string { return proto.CompactTextString(m) } 84 | func (*MapCell) ProtoMessage() {} 85 | 86 | func (m *MapCell) GetForts() []*FortData { 87 | if m != nil { 88 | return m.Forts 89 | } 90 | return nil 91 | } 92 | 93 | func (m *MapCell) GetSpawnPoints() []*SpawnPoint { 94 | if m != nil { 95 | return m.SpawnPoints 96 | } 97 | return nil 98 | } 99 | 100 | func (m *MapCell) GetFortSummaries() []*FortSummary { 101 | if m != nil { 102 | return m.FortSummaries 103 | } 104 | return nil 105 | } 106 | 107 | func (m *MapCell) GetDecimatedSpawnPoints() []*SpawnPoint { 108 | if m != nil { 109 | return m.DecimatedSpawnPoints 110 | } 111 | return nil 112 | } 113 | 114 | func (m *MapCell) GetWildPokemons() []*WildPokemon { 115 | if m != nil { 116 | return m.WildPokemons 117 | } 118 | return nil 119 | } 120 | 121 | func (m *MapCell) GetCatchablePokemons() []*MapPokemon { 122 | if m != nil { 123 | return m.CatchablePokemons 124 | } 125 | return nil 126 | } 127 | 128 | func (m *MapCell) GetNearbyPokemons() []*NearbyPokemon { 129 | if m != nil { 130 | return m.NearbyPokemons 131 | } 132 | return nil 133 | } 134 | 135 | func init() { 136 | proto.RegisterEnum("POGOProtos.Map.MapObjectsStatus", MapObjectsStatus_name, MapObjectsStatus_value) 137 | } 138 | -------------------------------------------------------------------------------- /settings.pb.go: -------------------------------------------------------------------------------- 1 | // Code generated by protoc-gen-go. 2 | // source: settings.proto 3 | // DO NOT EDIT! 4 | 5 | package protos 6 | 7 | import proto "github.com/golang/protobuf/proto" 8 | 9 | // Reference imports to suppress errors if they are not otherwise used. 10 | var _ = proto.Marshal 11 | 12 | type DownloadSettingsAction struct { 13 | Hash string `protobuf:"bytes,1,opt,name=hash" json:"hash,omitempty"` 14 | } 15 | 16 | func (m *DownloadSettingsAction) Reset() { *m = DownloadSettingsAction{} } 17 | func (m *DownloadSettingsAction) String() string { return proto.CompactTextString(m) } 18 | func (*DownloadSettingsAction) ProtoMessage() {} 19 | 20 | type LevelSettings struct { 21 | TrainerCpModifier float64 `protobuf:"fixed64,2,opt,name=trainer_cp_modifier" json:"trainer_cp_modifier,omitempty"` 22 | TrainerDifficultyModifier float64 `protobuf:"fixed64,3,opt,name=trainer_difficulty_modifier" json:"trainer_difficulty_modifier,omitempty"` 23 | } 24 | 25 | func (m *LevelSettings) Reset() { *m = LevelSettings{} } 26 | func (m *LevelSettings) String() string { return proto.CompactTextString(m) } 27 | func (*LevelSettings) ProtoMessage() {} 28 | 29 | type GpsSettings struct { 30 | DrivingWarningSpeedMetersPerSecond float32 `protobuf:"fixed32,1,opt,name=driving_warning_speed_meters_per_second" json:"driving_warning_speed_meters_per_second,omitempty"` 31 | DrivingWarningCooldownMinutes float32 `protobuf:"fixed32,2,opt,name=driving_warning_cooldown_minutes" json:"driving_warning_cooldown_minutes,omitempty"` 32 | DrivingSpeedSampleIntervalSeconds float32 `protobuf:"fixed32,3,opt,name=driving_speed_sample_interval_seconds" json:"driving_speed_sample_interval_seconds,omitempty"` 33 | DrivingSpeedSampleCount int32 `protobuf:"varint,4,opt,name=driving_speed_sample_count" json:"driving_speed_sample_count,omitempty"` 34 | } 35 | 36 | func (m *GpsSettings) Reset() { *m = GpsSettings{} } 37 | func (m *GpsSettings) String() string { return proto.CompactTextString(m) } 38 | func (*GpsSettings) ProtoMessage() {} 39 | 40 | type InventorySettings struct { 41 | MaxPokemon int32 `protobuf:"varint,1,opt,name=max_pokemon" json:"max_pokemon,omitempty"` 42 | MaxBagItems int32 `protobuf:"varint,2,opt,name=max_bag_items" json:"max_bag_items,omitempty"` 43 | BasePokemon int32 `protobuf:"varint,3,opt,name=base_pokemon" json:"base_pokemon,omitempty"` 44 | BaseBagItems int32 `protobuf:"varint,4,opt,name=base_bag_items" json:"base_bag_items,omitempty"` 45 | BaseEggs int32 `protobuf:"varint,5,opt,name=base_eggs" json:"base_eggs,omitempty"` 46 | } 47 | 48 | func (m *InventorySettings) Reset() { *m = InventorySettings{} } 49 | func (m *InventorySettings) String() string { return proto.CompactTextString(m) } 50 | func (*InventorySettings) ProtoMessage() {} 51 | 52 | type FortSettings struct { 53 | InteractionRangeMeters float64 `protobuf:"fixed64,1,opt,name=interaction_range_meters" json:"interaction_range_meters,omitempty"` 54 | MaxTotalDeployedPokemon int32 `protobuf:"varint,2,opt,name=max_total_deployed_pokemon" json:"max_total_deployed_pokemon,omitempty"` 55 | MaxPlayerDeployedPokemon int32 `protobuf:"varint,3,opt,name=max_player_deployed_pokemon" json:"max_player_deployed_pokemon,omitempty"` 56 | DeployStaminaMultiplier float64 `protobuf:"fixed64,4,opt,name=deploy_stamina_multiplier" json:"deploy_stamina_multiplier,omitempty"` 57 | DeployAttackMultiplier float64 `protobuf:"fixed64,5,opt,name=deploy_attack_multiplier" json:"deploy_attack_multiplier,omitempty"` 58 | FarInteractionRangeMeters float64 `protobuf:"fixed64,6,opt,name=far_interaction_range_meters" json:"far_interaction_range_meters,omitempty"` 59 | } 60 | 61 | func (m *FortSettings) Reset() { *m = FortSettings{} } 62 | func (m *FortSettings) String() string { return proto.CompactTextString(m) } 63 | func (*FortSettings) ProtoMessage() {} 64 | 65 | type MapSettings struct { 66 | PokemonVisibleRange float64 `protobuf:"fixed64,1,opt,name=pokemon_visible_range" json:"pokemon_visible_range,omitempty"` 67 | PokeNavRangeMeters float64 `protobuf:"fixed64,2,opt,name=poke_nav_range_meters" json:"poke_nav_range_meters,omitempty"` 68 | EncounterRangeMeters float64 `protobuf:"fixed64,3,opt,name=encounter_range_meters" json:"encounter_range_meters,omitempty"` 69 | GetMapObjectsMinRefreshSeconds float32 `protobuf:"fixed32,4,opt,name=get_map_objects_min_refresh_seconds" json:"get_map_objects_min_refresh_seconds,omitempty"` 70 | GetMapObjectsMaxRefreshSeconds float32 `protobuf:"fixed32,5,opt,name=get_map_objects_max_refresh_seconds" json:"get_map_objects_max_refresh_seconds,omitempty"` 71 | GetMapObjectsMinDistanceMeters float32 `protobuf:"fixed32,6,opt,name=get_map_objects_min_distance_meters" json:"get_map_objects_min_distance_meters,omitempty"` 72 | GoogleMapsApiKey string `protobuf:"bytes,7,opt,name=google_maps_api_key" json:"google_maps_api_key,omitempty"` 73 | } 74 | 75 | func (m *MapSettings) Reset() { *m = MapSettings{} } 76 | func (m *MapSettings) String() string { return proto.CompactTextString(m) } 77 | func (*MapSettings) ProtoMessage() {} 78 | 79 | type GlobalSettings struct { 80 | FortSettings *FortSettings `protobuf:"bytes,2,opt,name=fort_settings" json:"fort_settings,omitempty"` 81 | MapSettings *MapSettings `protobuf:"bytes,3,opt,name=map_settings" json:"map_settings,omitempty"` 82 | LevelSettings *LevelSettings `protobuf:"bytes,4,opt,name=level_settings" json:"level_settings,omitempty"` 83 | InventorySettings *InventorySettings `protobuf:"bytes,5,opt,name=inventory_settings" json:"inventory_settings,omitempty"` 84 | MinimumClientVersion string `protobuf:"bytes,6,opt,name=minimum_client_version" json:"minimum_client_version,omitempty"` 85 | GpsSettings *GpsSettings `protobuf:"bytes,7,opt,name=gps_settings" json:"gps_settings,omitempty"` 86 | } 87 | 88 | func (m *GlobalSettings) Reset() { *m = GlobalSettings{} } 89 | func (m *GlobalSettings) String() string { return proto.CompactTextString(m) } 90 | func (*GlobalSettings) ProtoMessage() {} 91 | 92 | func (m *GlobalSettings) GetFortSettings() *FortSettings { 93 | if m != nil { 94 | return m.FortSettings 95 | } 96 | return nil 97 | } 98 | 99 | func (m *GlobalSettings) GetMapSettings() *MapSettings { 100 | if m != nil { 101 | return m.MapSettings 102 | } 103 | return nil 104 | } 105 | 106 | func (m *GlobalSettings) GetLevelSettings() *LevelSettings { 107 | if m != nil { 108 | return m.LevelSettings 109 | } 110 | return nil 111 | } 112 | 113 | func (m *GlobalSettings) GetInventorySettings() *InventorySettings { 114 | if m != nil { 115 | return m.InventorySettings 116 | } 117 | return nil 118 | } 119 | 120 | func (m *GlobalSettings) GetGpsSettings() *GpsSettings { 121 | if m != nil { 122 | return m.GpsSettings 123 | } 124 | return nil 125 | } 126 | 127 | func init() { 128 | } 129 | -------------------------------------------------------------------------------- /inventory_item.pb.go: -------------------------------------------------------------------------------- 1 | // Code generated by protoc-gen-go. 2 | // source: inventory_item.proto 3 | // DO NOT EDIT! 4 | 5 | package protos 6 | 7 | import proto "github.com/golang/protobuf/proto" 8 | 9 | // Reference imports to suppress errors if they are not otherwise used. 10 | var _ = proto.Marshal 11 | 12 | type ItemId int32 13 | 14 | const ( 15 | ItemId_ITEM_UNKNOWN ItemId = 0 16 | ItemId_ITEM_POKE_BALL ItemId = 1 17 | ItemId_ITEM_GREAT_BALL ItemId = 2 18 | ItemId_ITEM_ULTRA_BALL ItemId = 3 19 | ItemId_ITEM_MASTER_BALL ItemId = 4 20 | ItemId_ITEM_POTION ItemId = 101 21 | ItemId_ITEM_SUPER_POTION ItemId = 102 22 | ItemId_ITEM_HYPER_POTION ItemId = 103 23 | ItemId_ITEM_MAX_POTION ItemId = 104 24 | ItemId_ITEM_REVIVE ItemId = 201 25 | ItemId_ITEM_MAX_REVIVE ItemId = 202 26 | ItemId_ITEM_LUCKY_EGG ItemId = 301 27 | ItemId_ITEM_INCENSE_ORDINARY ItemId = 401 28 | ItemId_ITEM_INCENSE_SPICY ItemId = 402 29 | ItemId_ITEM_INCENSE_COOL ItemId = 403 30 | ItemId_ITEM_INCENSE_FLORAL ItemId = 404 31 | ItemId_ITEM_TROY_DISK ItemId = 501 32 | ItemId_ITEM_X_ATTACK ItemId = 602 33 | ItemId_ITEM_X_DEFENSE ItemId = 603 34 | ItemId_ITEM_X_MIRACLE ItemId = 604 35 | ItemId_ITEM_RAZZ_BERRY ItemId = 701 36 | ItemId_ITEM_BLUK_BERRY ItemId = 702 37 | ItemId_ITEM_NANAB_BERRY ItemId = 703 38 | ItemId_ITEM_WEPAR_BERRY ItemId = 704 39 | ItemId_ITEM_PINAP_BERRY ItemId = 705 40 | ItemId_ITEM_SPECIAL_CAMERA ItemId = 801 41 | ItemId_ITEM_INCUBATOR_BASIC_UNLIMITED ItemId = 901 42 | ItemId_ITEM_INCUBATOR_BASIC ItemId = 902 43 | ItemId_ITEM_POKEMON_STORAGE_UPGRADE ItemId = 1001 44 | ItemId_ITEM_ITEM_STORAGE_UPGRADE ItemId = 1002 45 | ) 46 | 47 | var ItemId_name = map[int32]string{ 48 | 0: "ITEM_UNKNOWN", 49 | 1: "ITEM_POKE_BALL", 50 | 2: "ITEM_GREAT_BALL", 51 | 3: "ITEM_ULTRA_BALL", 52 | 4: "ITEM_MASTER_BALL", 53 | 101: "ITEM_POTION", 54 | 102: "ITEM_SUPER_POTION", 55 | 103: "ITEM_HYPER_POTION", 56 | 104: "ITEM_MAX_POTION", 57 | 201: "ITEM_REVIVE", 58 | 202: "ITEM_MAX_REVIVE", 59 | 301: "ITEM_LUCKY_EGG", 60 | 401: "ITEM_INCENSE_ORDINARY", 61 | 402: "ITEM_INCENSE_SPICY", 62 | 403: "ITEM_INCENSE_COOL", 63 | 404: "ITEM_INCENSE_FLORAL", 64 | 501: "ITEM_TROY_DISK", 65 | 602: "ITEM_X_ATTACK", 66 | 603: "ITEM_X_DEFENSE", 67 | 604: "ITEM_X_MIRACLE", 68 | 701: "ITEM_RAZZ_BERRY", 69 | 702: "ITEM_BLUK_BERRY", 70 | 703: "ITEM_NANAB_BERRY", 71 | 704: "ITEM_WEPAR_BERRY", 72 | 705: "ITEM_PINAP_BERRY", 73 | 801: "ITEM_SPECIAL_CAMERA", 74 | 901: "ITEM_INCUBATOR_BASIC_UNLIMITED", 75 | 902: "ITEM_INCUBATOR_BASIC", 76 | 1001: "ITEM_POKEMON_STORAGE_UPGRADE", 77 | 1002: "ITEM_ITEM_STORAGE_UPGRADE", 78 | } 79 | var ItemId_value = map[string]int32{ 80 | "ITEM_UNKNOWN": 0, 81 | "ITEM_POKE_BALL": 1, 82 | "ITEM_GREAT_BALL": 2, 83 | "ITEM_ULTRA_BALL": 3, 84 | "ITEM_MASTER_BALL": 4, 85 | "ITEM_POTION": 101, 86 | "ITEM_SUPER_POTION": 102, 87 | "ITEM_HYPER_POTION": 103, 88 | "ITEM_MAX_POTION": 104, 89 | "ITEM_REVIVE": 201, 90 | "ITEM_MAX_REVIVE": 202, 91 | "ITEM_LUCKY_EGG": 301, 92 | "ITEM_INCENSE_ORDINARY": 401, 93 | "ITEM_INCENSE_SPICY": 402, 94 | "ITEM_INCENSE_COOL": 403, 95 | "ITEM_INCENSE_FLORAL": 404, 96 | "ITEM_TROY_DISK": 501, 97 | "ITEM_X_ATTACK": 602, 98 | "ITEM_X_DEFENSE": 603, 99 | "ITEM_X_MIRACLE": 604, 100 | "ITEM_RAZZ_BERRY": 701, 101 | "ITEM_BLUK_BERRY": 702, 102 | "ITEM_NANAB_BERRY": 703, 103 | "ITEM_WEPAR_BERRY": 704, 104 | "ITEM_PINAP_BERRY": 705, 105 | "ITEM_SPECIAL_CAMERA": 801, 106 | "ITEM_INCUBATOR_BASIC_UNLIMITED": 901, 107 | "ITEM_INCUBATOR_BASIC": 902, 108 | "ITEM_POKEMON_STORAGE_UPGRADE": 1001, 109 | "ITEM_ITEM_STORAGE_UPGRADE": 1002, 110 | } 111 | 112 | func (x ItemId) String() string { 113 | return proto.EnumName(ItemId_name, int32(x)) 114 | } 115 | 116 | type ItemType int32 117 | 118 | const ( 119 | ItemType_ITEM_TYPE_NONE ItemType = 0 120 | ItemType_ITEM_TYPE_POKEBALL ItemType = 1 121 | ItemType_ITEM_TYPE_POTION ItemType = 2 122 | ItemType_ITEM_TYPE_REVIVE ItemType = 3 123 | ItemType_ITEM_TYPE_MAP ItemType = 4 124 | ItemType_ITEM_TYPE_BATTLE ItemType = 5 125 | ItemType_ITEM_TYPE_FOOD ItemType = 6 126 | ItemType_ITEM_TYPE_CAMERA ItemType = 7 127 | ItemType_ITEM_TYPE_DISK ItemType = 8 128 | ItemType_ITEM_TYPE_INCUBATOR ItemType = 9 129 | ItemType_ITEM_TYPE_INCENSE ItemType = 10 130 | ItemType_ITEM_TYPE_XP_BOOST ItemType = 11 131 | ItemType_ITEM_TYPE_INVENTORY_UPGRADE ItemType = 12 132 | ) 133 | 134 | var ItemType_name = map[int32]string{ 135 | 0: "ITEM_TYPE_NONE", 136 | 1: "ITEM_TYPE_POKEBALL", 137 | 2: "ITEM_TYPE_POTION", 138 | 3: "ITEM_TYPE_REVIVE", 139 | 4: "ITEM_TYPE_MAP", 140 | 5: "ITEM_TYPE_BATTLE", 141 | 6: "ITEM_TYPE_FOOD", 142 | 7: "ITEM_TYPE_CAMERA", 143 | 8: "ITEM_TYPE_DISK", 144 | 9: "ITEM_TYPE_INCUBATOR", 145 | 10: "ITEM_TYPE_INCENSE", 146 | 11: "ITEM_TYPE_XP_BOOST", 147 | 12: "ITEM_TYPE_INVENTORY_UPGRADE", 148 | } 149 | var ItemType_value = map[string]int32{ 150 | "ITEM_TYPE_NONE": 0, 151 | "ITEM_TYPE_POKEBALL": 1, 152 | "ITEM_TYPE_POTION": 2, 153 | "ITEM_TYPE_REVIVE": 3, 154 | "ITEM_TYPE_MAP": 4, 155 | "ITEM_TYPE_BATTLE": 5, 156 | "ITEM_TYPE_FOOD": 6, 157 | "ITEM_TYPE_CAMERA": 7, 158 | "ITEM_TYPE_DISK": 8, 159 | "ITEM_TYPE_INCUBATOR": 9, 160 | "ITEM_TYPE_INCENSE": 10, 161 | "ITEM_TYPE_XP_BOOST": 11, 162 | "ITEM_TYPE_INVENTORY_UPGRADE": 12, 163 | } 164 | 165 | func (x ItemType) String() string { 166 | return proto.EnumName(ItemType_name, int32(x)) 167 | } 168 | 169 | type ItemData struct { 170 | ItemId ItemId `protobuf:"varint,1,opt,name=item_id,enum=POGOProtos.Inventory.Item.ItemId" json:"item_id,omitempty"` 171 | Count int32 `protobuf:"varint,2,opt,name=count" json:"count,omitempty"` 172 | Unseen bool `protobuf:"varint,3,opt,name=unseen" json:"unseen,omitempty"` 173 | } 174 | 175 | func (m *ItemData) Reset() { *m = ItemData{} } 176 | func (m *ItemData) String() string { return proto.CompactTextString(m) } 177 | func (*ItemData) ProtoMessage() {} 178 | 179 | type ItemAward struct { 180 | ItemId ItemId `protobuf:"varint,1,opt,name=item_id,enum=POGOProtos.Inventory.Item.ItemId" json:"item_id,omitempty"` 181 | ItemCount int32 `protobuf:"varint,2,opt,name=item_count" json:"item_count,omitempty"` 182 | } 183 | 184 | func (m *ItemAward) Reset() { *m = ItemAward{} } 185 | func (m *ItemAward) String() string { return proto.CompactTextString(m) } 186 | func (*ItemAward) ProtoMessage() {} 187 | 188 | func init() { 189 | proto.RegisterEnum("POGOProtos.Inventory.Item.ItemId", ItemId_name, ItemId_value) 190 | proto.RegisterEnum("POGOProtos.Inventory.Item.ItemType", ItemType_name, ItemType_value) 191 | } 192 | -------------------------------------------------------------------------------- /map_fort.pb.go: -------------------------------------------------------------------------------- 1 | // Code generated by protoc-gen-go. 2 | // source: map_fort.proto 3 | // DO NOT EDIT! 4 | 5 | package protos 6 | 7 | import proto "github.com/golang/protobuf/proto" 8 | 9 | // Reference imports to suppress errors if they are not otherwise used. 10 | var _ = proto.Marshal 11 | 12 | // Ignoring public import of BadgeType from enums.proto 13 | 14 | // Ignoring public import of TutorialState from enums.proto 15 | 16 | // Ignoring public import of PokemonId from enums.proto 17 | 18 | // Ignoring public import of PokemonMovementType from enums.proto 19 | 20 | // Ignoring public import of Gender from enums.proto 21 | 22 | // Ignoring public import of ActivityType from enums.proto 23 | 24 | // Ignoring public import of CameraTarget from enums.proto 25 | 26 | // Ignoring public import of PokemonFamilyId from enums.proto 27 | 28 | // Ignoring public import of ItemCategory from enums.proto 29 | 30 | // Ignoring public import of CameraInterpolation from enums.proto 31 | 32 | // Ignoring public import of Platform from enums.proto 33 | 34 | // Ignoring public import of TeamColor from enums.proto 35 | 36 | // Ignoring public import of PokemonMove from enums.proto 37 | 38 | // Ignoring public import of ItemEffect from enums.proto 39 | 40 | // Ignoring public import of PokemonType from enums.proto 41 | 42 | // Ignoring public import of HoloIapItemCategory from enums.proto 43 | 44 | // Ignoring public import of PokemonRarity from enums.proto 45 | 46 | // Ignoring public import of ItemData from inventory_item.proto 47 | 48 | // Ignoring public import of ItemAward from inventory_item.proto 49 | 50 | // Ignoring public import of ItemId from inventory_item.proto 51 | 52 | // Ignoring public import of ItemType from inventory_item.proto 53 | 54 | type FortRenderingType int32 55 | 56 | const ( 57 | FortRenderingType_DEFAULT FortRenderingType = 0 58 | FortRenderingType_INTERNAL_TEST FortRenderingType = 1 59 | ) 60 | 61 | var FortRenderingType_name = map[int32]string{ 62 | 0: "DEFAULT", 63 | 1: "INTERNAL_TEST", 64 | } 65 | var FortRenderingType_value = map[string]int32{ 66 | "DEFAULT": 0, 67 | "INTERNAL_TEST": 1, 68 | } 69 | 70 | func (x FortRenderingType) String() string { 71 | return proto.EnumName(FortRenderingType_name, int32(x)) 72 | } 73 | 74 | type FortSponsor int32 75 | 76 | const ( 77 | FortSponsor_UNSET_SPONSOR FortSponsor = 0 78 | FortSponsor_MCDONALDS FortSponsor = 1 79 | FortSponsor_POKEMON_STORE FortSponsor = 2 80 | ) 81 | 82 | var FortSponsor_name = map[int32]string{ 83 | 0: "UNSET_SPONSOR", 84 | 1: "MCDONALDS", 85 | 2: "POKEMON_STORE", 86 | } 87 | var FortSponsor_value = map[string]int32{ 88 | "UNSET_SPONSOR": 0, 89 | "MCDONALDS": 1, 90 | "POKEMON_STORE": 2, 91 | } 92 | 93 | func (x FortSponsor) String() string { 94 | return proto.EnumName(FortSponsor_name, int32(x)) 95 | } 96 | 97 | type FortType int32 98 | 99 | const ( 100 | FortType_GYM FortType = 0 101 | FortType_CHECKPOINT FortType = 1 102 | ) 103 | 104 | var FortType_name = map[int32]string{ 105 | 0: "GYM", 106 | 1: "CHECKPOINT", 107 | } 108 | var FortType_value = map[string]int32{ 109 | "GYM": 0, 110 | "CHECKPOINT": 1, 111 | } 112 | 113 | func (x FortType) String() string { 114 | return proto.EnumName(FortType_name, int32(x)) 115 | } 116 | 117 | type FortSummary struct { 118 | FortSummaryId string `protobuf:"bytes,1,opt,name=fort_summary_id" json:"fort_summary_id,omitempty"` 119 | LastModifiedTimestampMs int64 `protobuf:"varint,2,opt,name=last_modified_timestamp_ms" json:"last_modified_timestamp_ms,omitempty"` 120 | Latitude float64 `protobuf:"fixed64,3,opt,name=latitude" json:"latitude,omitempty"` 121 | Longitude float64 `protobuf:"fixed64,4,opt,name=longitude" json:"longitude,omitempty"` 122 | } 123 | 124 | func (m *FortSummary) Reset() { *m = FortSummary{} } 125 | func (m *FortSummary) String() string { return proto.CompactTextString(m) } 126 | func (*FortSummary) ProtoMessage() {} 127 | 128 | type FortLureInfo struct { 129 | FortId string `protobuf:"bytes,1,opt,name=fort_id" json:"fort_id,omitempty"` 130 | EncounterId uint64 `protobuf:"fixed64,2,opt,name=encounter_id" json:"encounter_id,omitempty"` 131 | ActivePokemonId PokemonId `protobuf:"varint,3,opt,name=active_pokemon_id,enum=POGOProtos.Enums.PokemonId" json:"active_pokemon_id,omitempty"` 132 | LureExpiresTimestampMs int64 `protobuf:"varint,4,opt,name=lure_expires_timestamp_ms" json:"lure_expires_timestamp_ms,omitempty"` 133 | } 134 | 135 | func (m *FortLureInfo) Reset() { *m = FortLureInfo{} } 136 | func (m *FortLureInfo) String() string { return proto.CompactTextString(m) } 137 | func (*FortLureInfo) ProtoMessage() {} 138 | 139 | type FortModifier struct { 140 | ItemId ItemId `protobuf:"varint,1,opt,name=item_id,enum=POGOProtos.Inventory.Item.ItemId" json:"item_id,omitempty"` 141 | ExpirationTimestampMs int64 `protobuf:"varint,2,opt,name=expiration_timestamp_ms" json:"expiration_timestamp_ms,omitempty"` 142 | DeployerPlayerCodename string `protobuf:"bytes,3,opt,name=deployer_player_codename" json:"deployer_player_codename,omitempty"` 143 | } 144 | 145 | func (m *FortModifier) Reset() { *m = FortModifier{} } 146 | func (m *FortModifier) String() string { return proto.CompactTextString(m) } 147 | func (*FortModifier) ProtoMessage() {} 148 | 149 | type FortData struct { 150 | Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` 151 | LastModifiedTimestampMs int64 `protobuf:"varint,2,opt,name=last_modified_timestamp_ms" json:"last_modified_timestamp_ms,omitempty"` 152 | Latitude float64 `protobuf:"fixed64,3,opt,name=latitude" json:"latitude,omitempty"` 153 | Longitude float64 `protobuf:"fixed64,4,opt,name=longitude" json:"longitude,omitempty"` 154 | Enabled bool `protobuf:"varint,8,opt,name=enabled" json:"enabled,omitempty"` 155 | Type FortType `protobuf:"varint,9,opt,name=type,enum=POGOProtos.Map.Fort.FortType" json:"type,omitempty"` 156 | // Team that owns the gym 157 | OwnedByTeam TeamColor `protobuf:"varint,5,opt,name=owned_by_team,enum=POGOProtos.Enums.TeamColor" json:"owned_by_team,omitempty"` 158 | // Highest CP Pokemon at the gym 159 | GuardPokemonId PokemonId `protobuf:"varint,6,opt,name=guard_pokemon_id,enum=POGOProtos.Enums.PokemonId" json:"guard_pokemon_id,omitempty"` 160 | GuardPokemonCp int32 `protobuf:"varint,7,opt,name=guard_pokemon_cp" json:"guard_pokemon_cp,omitempty"` 161 | // Prestigate / experience of the gym 162 | GymPoints int64 `protobuf:"varint,10,opt,name=gym_points" json:"gym_points,omitempty"` 163 | // Whether someone is battling at the gym currently 164 | IsInBattle bool `protobuf:"varint,11,opt,name=is_in_battle" json:"is_in_battle,omitempty"` 165 | // // Fields related to pokestops only 166 | ActiveFortModifier []ItemId `protobuf:"varint,12,rep,name=active_fort_modifier,enum=POGOProtos.Inventory.Item.ItemId" json:"active_fort_modifier,omitempty"` 167 | LureInfo *FortLureInfo `protobuf:"bytes,13,opt,name=lure_info" json:"lure_info,omitempty"` 168 | // Timestamp when the pokestop can be activated again to get items / xp 169 | CooldownCompleteTimestampMs int64 `protobuf:"varint,14,opt,name=cooldown_complete_timestamp_ms" json:"cooldown_complete_timestamp_ms,omitempty"` 170 | Sponsor FortSponsor `protobuf:"varint,15,opt,name=sponsor,enum=POGOProtos.Map.Fort.FortSponsor" json:"sponsor,omitempty"` 171 | RenderingType FortRenderingType `protobuf:"varint,16,opt,name=rendering_type,enum=POGOProtos.Map.Fort.FortRenderingType" json:"rendering_type,omitempty"` 172 | } 173 | 174 | func (m *FortData) Reset() { *m = FortData{} } 175 | func (m *FortData) String() string { return proto.CompactTextString(m) } 176 | func (*FortData) ProtoMessage() {} 177 | 178 | func (m *FortData) GetLureInfo() *FortLureInfo { 179 | if m != nil { 180 | return m.LureInfo 181 | } 182 | return nil 183 | } 184 | 185 | func init() { 186 | proto.RegisterEnum("POGOProtos.Map.Fort.FortRenderingType", FortRenderingType_name, FortRenderingType_value) 187 | proto.RegisterEnum("POGOProtos.Map.Fort.FortSponsor", FortSponsor_name, FortSponsor_value) 188 | proto.RegisterEnum("POGOProtos.Map.Fort.FortType", FortType_name, FortType_value) 189 | } 190 | -------------------------------------------------------------------------------- /networking_platform_responses.pb.go: -------------------------------------------------------------------------------- 1 | // Code generated by protoc-gen-go. 2 | // source: networking_platform_responses.proto 3 | // DO NOT EDIT! 4 | 5 | package protos 6 | 7 | import proto "github.com/golang/protobuf/proto" 8 | 9 | // Reference imports to suppress errors if they are not otherwise used. 10 | var _ = proto.Marshal 11 | 12 | // Ignoring public import of ContactSettings from data_player.proto 13 | 14 | // Ignoring public import of PlayerAvatar from data_player.proto 15 | 16 | // Ignoring public import of Currency from data_player.proto 17 | 18 | // Ignoring public import of EquippedBadge from data_player.proto 19 | 20 | // Ignoring public import of PlayerStats from data_player.proto 21 | 22 | // Ignoring public import of PlayerCamera from data_player.proto 23 | 24 | // Ignoring public import of PlayerCurrency from data_player.proto 25 | 26 | // Ignoring public import of PlayerPublicProfile from data_player.proto 27 | 28 | // Ignoring public import of DailyBonus from data_player.proto 29 | 30 | // Ignoring public import of ItemData from inventory_item.proto 31 | 32 | // Ignoring public import of ItemAward from inventory_item.proto 33 | 34 | // Ignoring public import of ItemId from inventory_item.proto 35 | 36 | // Ignoring public import of ItemType from inventory_item.proto 37 | 38 | type GetStoreItemsResponse_Status int32 39 | 40 | const ( 41 | GetStoreItemsResponse_UNDEFINED GetStoreItemsResponse_Status = 0 42 | GetStoreItemsResponse_OKAY GetStoreItemsResponse_Status = 1 43 | ) 44 | 45 | var GetStoreItemsResponse_Status_name = map[int32]string{ 46 | 0: "UNDEFINED", 47 | 1: "OKAY", 48 | } 49 | var GetStoreItemsResponse_Status_value = map[string]int32{ 50 | "UNDEFINED": 0, 51 | "OKAY": 1, 52 | } 53 | 54 | func (x GetStoreItemsResponse_Status) String() string { 55 | return proto.EnumName(GetStoreItemsResponse_Status_name, int32(x)) 56 | } 57 | 58 | // THESE ARE SOMEWHAT SPECULATED, failed may be 2 59 | type BuyItemAndroidResponse_Status int32 60 | 61 | const ( 62 | BuyItemAndroidResponse_UNKNOWN BuyItemAndroidResponse_Status = 0 63 | BuyItemAndroidResponse_SUCCESS BuyItemAndroidResponse_Status = 1 64 | ) 65 | 66 | var BuyItemAndroidResponse_Status_name = map[int32]string{ 67 | 0: "UNKNOWN", 68 | 1: "SUCCESS", 69 | } 70 | var BuyItemAndroidResponse_Status_value = map[string]int32{ 71 | "UNKNOWN": 0, 72 | "SUCCESS": 1, 73 | } 74 | 75 | func (x BuyItemAndroidResponse_Status) String() string { 76 | return proto.EnumName(BuyItemAndroidResponse_Status_name, int32(x)) 77 | } 78 | 79 | // THESE ARE SOMEWHAT SPECULATED, should be a NOT ENOUGH ROOM status too for bag being full somewhere. 80 | type BuyItemPokeCoinsResponse_Status int32 81 | 82 | const ( 83 | BuyItemPokeCoinsResponse_UNKNOWN BuyItemPokeCoinsResponse_Status = 0 84 | BuyItemPokeCoinsResponse_SUCCESS BuyItemPokeCoinsResponse_Status = 1 85 | BuyItemPokeCoinsResponse_NOT_ENOUGH_POKECOINS BuyItemPokeCoinsResponse_Status = 3 86 | ) 87 | 88 | var BuyItemPokeCoinsResponse_Status_name = map[int32]string{ 89 | 0: "UNKNOWN", 90 | 1: "SUCCESS", 91 | 3: "NOT_ENOUGH_POKECOINS", 92 | } 93 | var BuyItemPokeCoinsResponse_Status_value = map[string]int32{ 94 | "UNKNOWN": 0, 95 | "SUCCESS": 1, 96 | "NOT_ENOUGH_POKECOINS": 3, 97 | } 98 | 99 | func (x BuyItemPokeCoinsResponse_Status) String() string { 100 | return proto.EnumName(BuyItemPokeCoinsResponse_Status_name, int32(x)) 101 | } 102 | 103 | type GetStoreItemsResponse struct { 104 | Status GetStoreItemsResponse_Status `protobuf:"varint,1,opt,name=status,enum=POGOProtos.Networking.Platform.Responses.GetStoreItemsResponse_Status" json:"status,omitempty"` 105 | Items []*GetStoreItemsResponse_StoreItem `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"` 106 | PlayerCurrencies []*Currency `protobuf:"bytes,3,rep,name=player_currencies" json:"player_currencies,omitempty"` 107 | Unknown4 string `protobuf:"bytes,4,opt,name=unknown4" json:"unknown4,omitempty"` 108 | } 109 | 110 | func (m *GetStoreItemsResponse) Reset() { *m = GetStoreItemsResponse{} } 111 | func (m *GetStoreItemsResponse) String() string { return proto.CompactTextString(m) } 112 | func (*GetStoreItemsResponse) ProtoMessage() {} 113 | 114 | func (m *GetStoreItemsResponse) GetItems() []*GetStoreItemsResponse_StoreItem { 115 | if m != nil { 116 | return m.Items 117 | } 118 | return nil 119 | } 120 | 121 | func (m *GetStoreItemsResponse) GetPlayerCurrencies() []*Currency { 122 | if m != nil { 123 | return m.PlayerCurrencies 124 | } 125 | return nil 126 | } 127 | 128 | type GetStoreItemsResponse_StoreItem struct { 129 | ItemId string `protobuf:"bytes,1,opt,name=item_id" json:"item_id,omitempty"` 130 | IsIap bool `protobuf:"varint,2,opt,name=is_iap" json:"is_iap,omitempty"` 131 | CurrencyToBuy *Currency `protobuf:"bytes,3,opt,name=currency_to_buy" json:"currency_to_buy,omitempty"` 132 | YieldsCurrency *Currency `protobuf:"bytes,4,opt,name=yields_currency" json:"yields_currency,omitempty"` 133 | YieldsItem *ItemData `protobuf:"bytes,5,opt,name=yields_item" json:"yields_item,omitempty"` 134 | Tags map[string]string `protobuf:"bytes,6,rep,name=tags" json:"tags,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` 135 | Unknown7 int32 `protobuf:"varint,7,opt,name=unknown7" json:"unknown7,omitempty"` 136 | } 137 | 138 | func (m *GetStoreItemsResponse_StoreItem) Reset() { *m = GetStoreItemsResponse_StoreItem{} } 139 | func (m *GetStoreItemsResponse_StoreItem) String() string { return proto.CompactTextString(m) } 140 | func (*GetStoreItemsResponse_StoreItem) ProtoMessage() {} 141 | 142 | func (m *GetStoreItemsResponse_StoreItem) GetCurrencyToBuy() *Currency { 143 | if m != nil { 144 | return m.CurrencyToBuy 145 | } 146 | return nil 147 | } 148 | 149 | func (m *GetStoreItemsResponse_StoreItem) GetYieldsCurrency() *Currency { 150 | if m != nil { 151 | return m.YieldsCurrency 152 | } 153 | return nil 154 | } 155 | 156 | func (m *GetStoreItemsResponse_StoreItem) GetYieldsItem() *ItemData { 157 | if m != nil { 158 | return m.YieldsItem 159 | } 160 | return nil 161 | } 162 | 163 | func (m *GetStoreItemsResponse_StoreItem) GetTags() map[string]string { 164 | if m != nil { 165 | return m.Tags 166 | } 167 | return nil 168 | } 169 | 170 | type BuyItemAndroidResponse struct { 171 | Result BuyItemAndroidResponse_Status `protobuf:"varint,1,opt,name=result,enum=POGOProtos.Networking.Platform.Responses.BuyItemAndroidResponse_Status" json:"result,omitempty"` 172 | PurchaseToken string `protobuf:"bytes,2,opt,name=purchase_token" json:"purchase_token,omitempty"` 173 | } 174 | 175 | func (m *BuyItemAndroidResponse) Reset() { *m = BuyItemAndroidResponse{} } 176 | func (m *BuyItemAndroidResponse) String() string { return proto.CompactTextString(m) } 177 | func (*BuyItemAndroidResponse) ProtoMessage() {} 178 | 179 | type SendEncryptedSignatureResponse struct { 180 | Received bool `protobuf:"varint,1,opt,name=received" json:"received,omitempty"` 181 | } 182 | 183 | func (m *SendEncryptedSignatureResponse) Reset() { *m = SendEncryptedSignatureResponse{} } 184 | func (m *SendEncryptedSignatureResponse) String() string { return proto.CompactTextString(m) } 185 | func (*SendEncryptedSignatureResponse) ProtoMessage() {} 186 | 187 | type BuyItemPokeCoinsResponse struct { 188 | Result BuyItemPokeCoinsResponse_Status `protobuf:"varint,1,opt,name=result,enum=POGOProtos.Networking.Platform.Responses.BuyItemPokeCoinsResponse_Status" json:"result,omitempty"` 189 | } 190 | 191 | func (m *BuyItemPokeCoinsResponse) Reset() { *m = BuyItemPokeCoinsResponse{} } 192 | func (m *BuyItemPokeCoinsResponse) String() string { return proto.CompactTextString(m) } 193 | func (*BuyItemPokeCoinsResponse) ProtoMessage() {} 194 | 195 | func init() { 196 | proto.RegisterEnum("POGOProtos.Networking.Platform.Responses.GetStoreItemsResponse_Status", GetStoreItemsResponse_Status_name, GetStoreItemsResponse_Status_value) 197 | proto.RegisterEnum("POGOProtos.Networking.Platform.Responses.BuyItemAndroidResponse_Status", BuyItemAndroidResponse_Status_name, BuyItemAndroidResponse_Status_value) 198 | proto.RegisterEnum("POGOProtos.Networking.Platform.Responses.BuyItemPokeCoinsResponse_Status", BuyItemPokeCoinsResponse_Status_name, BuyItemPokeCoinsResponse_Status_value) 199 | } 200 | -------------------------------------------------------------------------------- /data_logs.pb.go: -------------------------------------------------------------------------------- 1 | // Code generated by protoc-gen-go. 2 | // source: data_logs.proto 3 | // DO NOT EDIT! 4 | 5 | /* 6 | Package protos is a generated protocol buffer package. 7 | 8 | It is generated from these files: 9 | data_logs.proto 10 | networking_platform_requests.proto 11 | networking_platform_responses.proto 12 | data_player.proto 13 | networking_responses.proto 14 | settings_master_pokemon.proto 15 | inventory_item.proto 16 | data_capture.proto 17 | maps.proto 18 | networking_requests_messages.proto 19 | inventory.proto 20 | networking_requests.proto 21 | enums.proto 22 | data_gym.proto 23 | networking_platform.proto 24 | map_fort.proto 25 | data_battle.proto 26 | networking_envelopes.proto 27 | settings_master.proto 28 | data.proto 29 | settings_master_item.proto 30 | settings.proto 31 | map_pokemon.proto 32 | 33 | It has these top-level messages: 34 | FortSearchLogEntry 35 | CatchPokemonLogEntry 36 | ActionLogEntry 37 | BuddyPokemonLogEntry 38 | */ 39 | package protos 40 | 41 | import proto "github.com/golang/protobuf/proto" 42 | 43 | // Reference imports to suppress errors if they are not otherwise used. 44 | var _ = proto.Marshal 45 | 46 | // Ignoring public import of ItemData from inventory_item.proto 47 | 48 | // Ignoring public import of ItemAward from inventory_item.proto 49 | 50 | // Ignoring public import of ItemId from inventory_item.proto 51 | 52 | // Ignoring public import of ItemType from inventory_item.proto 53 | 54 | // Ignoring public import of BadgeType from enums.proto 55 | 56 | // Ignoring public import of TutorialState from enums.proto 57 | 58 | // Ignoring public import of PokemonId from enums.proto 59 | 60 | // Ignoring public import of PokemonMovementType from enums.proto 61 | 62 | // Ignoring public import of Gender from enums.proto 63 | 64 | // Ignoring public import of ActivityType from enums.proto 65 | 66 | // Ignoring public import of CameraTarget from enums.proto 67 | 68 | // Ignoring public import of PokemonFamilyId from enums.proto 69 | 70 | // Ignoring public import of ItemCategory from enums.proto 71 | 72 | // Ignoring public import of CameraInterpolation from enums.proto 73 | 74 | // Ignoring public import of Platform from enums.proto 75 | 76 | // Ignoring public import of TeamColor from enums.proto 77 | 78 | // Ignoring public import of PokemonMove from enums.proto 79 | 80 | // Ignoring public import of ItemEffect from enums.proto 81 | 82 | // Ignoring public import of PokemonType from enums.proto 83 | 84 | // Ignoring public import of HoloIapItemCategory from enums.proto 85 | 86 | // Ignoring public import of PokemonRarity from enums.proto 87 | 88 | type FortSearchLogEntry_Result int32 89 | 90 | const ( 91 | FortSearchLogEntry_UNSET FortSearchLogEntry_Result = 0 92 | FortSearchLogEntry_SUCCESS FortSearchLogEntry_Result = 1 93 | ) 94 | 95 | var FortSearchLogEntry_Result_name = map[int32]string{ 96 | 0: "UNSET", 97 | 1: "SUCCESS", 98 | } 99 | var FortSearchLogEntry_Result_value = map[string]int32{ 100 | "UNSET": 0, 101 | "SUCCESS": 1, 102 | } 103 | 104 | func (x FortSearchLogEntry_Result) String() string { 105 | return proto.EnumName(FortSearchLogEntry_Result_name, int32(x)) 106 | } 107 | 108 | type CatchPokemonLogEntry_Result int32 109 | 110 | const ( 111 | CatchPokemonLogEntry_UNSET CatchPokemonLogEntry_Result = 0 112 | CatchPokemonLogEntry_POKEMON_CAPTURED CatchPokemonLogEntry_Result = 1 113 | CatchPokemonLogEntry_POKEMON_FLED CatchPokemonLogEntry_Result = 2 114 | CatchPokemonLogEntry_POKEMON_HATCHED CatchPokemonLogEntry_Result = 3 115 | ) 116 | 117 | var CatchPokemonLogEntry_Result_name = map[int32]string{ 118 | 0: "UNSET", 119 | 1: "POKEMON_CAPTURED", 120 | 2: "POKEMON_FLED", 121 | 3: "POKEMON_HATCHED", 122 | } 123 | var CatchPokemonLogEntry_Result_value = map[string]int32{ 124 | "UNSET": 0, 125 | "POKEMON_CAPTURED": 1, 126 | "POKEMON_FLED": 2, 127 | "POKEMON_HATCHED": 3, 128 | } 129 | 130 | func (x CatchPokemonLogEntry_Result) String() string { 131 | return proto.EnumName(CatchPokemonLogEntry_Result_name, int32(x)) 132 | } 133 | 134 | type BuddyPokemonLogEntry_Result int32 135 | 136 | const ( 137 | BuddyPokemonLogEntry_UNSET BuddyPokemonLogEntry_Result = 0 138 | BuddyPokemonLogEntry_CANDY_FOUND BuddyPokemonLogEntry_Result = 1 139 | ) 140 | 141 | var BuddyPokemonLogEntry_Result_name = map[int32]string{ 142 | 0: "UNSET", 143 | 1: "CANDY_FOUND", 144 | } 145 | var BuddyPokemonLogEntry_Result_value = map[string]int32{ 146 | "UNSET": 0, 147 | "CANDY_FOUND": 1, 148 | } 149 | 150 | func (x BuddyPokemonLogEntry_Result) String() string { 151 | return proto.EnumName(BuddyPokemonLogEntry_Result_name, int32(x)) 152 | } 153 | 154 | type FortSearchLogEntry struct { 155 | Result FortSearchLogEntry_Result `protobuf:"varint,1,opt,name=result,enum=POGOProtos.Data.Logs.FortSearchLogEntry_Result" json:"result,omitempty"` 156 | FortId string `protobuf:"bytes,2,opt,name=fort_id" json:"fort_id,omitempty"` 157 | Items []*ItemData `protobuf:"bytes,3,rep,name=items" json:"items,omitempty"` 158 | Eggs int32 `protobuf:"varint,4,opt,name=eggs" json:"eggs,omitempty"` 159 | } 160 | 161 | func (m *FortSearchLogEntry) Reset() { *m = FortSearchLogEntry{} } 162 | func (m *FortSearchLogEntry) String() string { return proto.CompactTextString(m) } 163 | func (*FortSearchLogEntry) ProtoMessage() {} 164 | 165 | func (m *FortSearchLogEntry) GetItems() []*ItemData { 166 | if m != nil { 167 | return m.Items 168 | } 169 | return nil 170 | } 171 | 172 | type CatchPokemonLogEntry struct { 173 | Result CatchPokemonLogEntry_Result `protobuf:"varint,1,opt,name=result,enum=POGOProtos.Data.Logs.CatchPokemonLogEntry_Result" json:"result,omitempty"` 174 | PokemonId PokemonId `protobuf:"varint,2,opt,name=pokemon_id,enum=POGOProtos.Enums.PokemonId" json:"pokemon_id,omitempty"` 175 | CombatPoints int32 `protobuf:"varint,3,opt,name=combat_points" json:"combat_points,omitempty"` 176 | PokemonDataId uint64 `protobuf:"fixed64,4,opt,name=pokemon_data_id" json:"pokemon_data_id,omitempty"` 177 | } 178 | 179 | func (m *CatchPokemonLogEntry) Reset() { *m = CatchPokemonLogEntry{} } 180 | func (m *CatchPokemonLogEntry) String() string { return proto.CompactTextString(m) } 181 | func (*CatchPokemonLogEntry) ProtoMessage() {} 182 | 183 | type ActionLogEntry struct { 184 | TimestampMs int64 `protobuf:"varint,1,opt,name=timestamp_ms" json:"timestamp_ms,omitempty"` 185 | Sfida bool `protobuf:"varint,2,opt,name=sfida" json:"sfida,omitempty"` 186 | CatchPokemon *CatchPokemonLogEntry `protobuf:"bytes,3,opt,name=catch_pokemon" json:"catch_pokemon,omitempty"` 187 | FortSearch *FortSearchLogEntry `protobuf:"bytes,4,opt,name=fort_search" json:"fort_search,omitempty"` 188 | BuddyPokemon *BuddyPokemonLogEntry `protobuf:"bytes,5,opt,name=buddy_pokemon" json:"buddy_pokemon,omitempty"` 189 | } 190 | 191 | func (m *ActionLogEntry) Reset() { *m = ActionLogEntry{} } 192 | func (m *ActionLogEntry) String() string { return proto.CompactTextString(m) } 193 | func (*ActionLogEntry) ProtoMessage() {} 194 | 195 | func (m *ActionLogEntry) GetCatchPokemon() *CatchPokemonLogEntry { 196 | if m != nil { 197 | return m.CatchPokemon 198 | } 199 | return nil 200 | } 201 | 202 | func (m *ActionLogEntry) GetFortSearch() *FortSearchLogEntry { 203 | if m != nil { 204 | return m.FortSearch 205 | } 206 | return nil 207 | } 208 | 209 | func (m *ActionLogEntry) GetBuddyPokemon() *BuddyPokemonLogEntry { 210 | if m != nil { 211 | return m.BuddyPokemon 212 | } 213 | return nil 214 | } 215 | 216 | type BuddyPokemonLogEntry struct { 217 | Result BuddyPokemonLogEntry_Result `protobuf:"varint,1,opt,name=result,enum=POGOProtos.Data.Logs.BuddyPokemonLogEntry_Result" json:"result,omitempty"` 218 | PokemonId PokemonId `protobuf:"varint,2,opt,name=pokemon_id,enum=POGOProtos.Enums.PokemonId" json:"pokemon_id,omitempty"` 219 | Amount int32 `protobuf:"varint,3,opt,name=amount" json:"amount,omitempty"` 220 | } 221 | 222 | func (m *BuddyPokemonLogEntry) Reset() { *m = BuddyPokemonLogEntry{} } 223 | func (m *BuddyPokemonLogEntry) String() string { return proto.CompactTextString(m) } 224 | func (*BuddyPokemonLogEntry) ProtoMessage() {} 225 | 226 | func init() { 227 | proto.RegisterEnum("POGOProtos.Data.Logs.FortSearchLogEntry_Result", FortSearchLogEntry_Result_name, FortSearchLogEntry_Result_value) 228 | proto.RegisterEnum("POGOProtos.Data.Logs.CatchPokemonLogEntry_Result", CatchPokemonLogEntry_Result_name, CatchPokemonLogEntry_Result_value) 229 | proto.RegisterEnum("POGOProtos.Data.Logs.BuddyPokemonLogEntry_Result", BuddyPokemonLogEntry_Result_name, BuddyPokemonLogEntry_Result_value) 230 | } 231 | -------------------------------------------------------------------------------- /data_player.pb.go: -------------------------------------------------------------------------------- 1 | // Code generated by protoc-gen-go. 2 | // source: data_player.proto 3 | // DO NOT EDIT! 4 | 5 | package protos 6 | 7 | import proto "github.com/golang/protobuf/proto" 8 | 9 | // Reference imports to suppress errors if they are not otherwise used. 10 | var _ = proto.Marshal 11 | 12 | // Ignoring public import of BadgeType from enums.proto 13 | 14 | // Ignoring public import of TutorialState from enums.proto 15 | 16 | // Ignoring public import of PokemonId from enums.proto 17 | 18 | // Ignoring public import of PokemonMovementType from enums.proto 19 | 20 | // Ignoring public import of Gender from enums.proto 21 | 22 | // Ignoring public import of ActivityType from enums.proto 23 | 24 | // Ignoring public import of CameraTarget from enums.proto 25 | 26 | // Ignoring public import of PokemonFamilyId from enums.proto 27 | 28 | // Ignoring public import of ItemCategory from enums.proto 29 | 30 | // Ignoring public import of CameraInterpolation from enums.proto 31 | 32 | // Ignoring public import of Platform from enums.proto 33 | 34 | // Ignoring public import of TeamColor from enums.proto 35 | 36 | // Ignoring public import of PokemonMove from enums.proto 37 | 38 | // Ignoring public import of ItemEffect from enums.proto 39 | 40 | // Ignoring public import of PokemonType from enums.proto 41 | 42 | // Ignoring public import of HoloIapItemCategory from enums.proto 43 | 44 | // Ignoring public import of PokemonRarity from enums.proto 45 | 46 | type ContactSettings struct { 47 | SendMarketingEmails bool `protobuf:"varint,1,opt,name=send_marketing_emails" json:"send_marketing_emails,omitempty"` 48 | SendPushNotifications bool `protobuf:"varint,2,opt,name=send_push_notifications" json:"send_push_notifications,omitempty"` 49 | } 50 | 51 | func (m *ContactSettings) Reset() { *m = ContactSettings{} } 52 | func (m *ContactSettings) String() string { return proto.CompactTextString(m) } 53 | func (*ContactSettings) ProtoMessage() {} 54 | 55 | type PlayerAvatar struct { 56 | Skin int32 `protobuf:"varint,2,opt,name=skin" json:"skin,omitempty"` 57 | Hair int32 `protobuf:"varint,3,opt,name=hair" json:"hair,omitempty"` 58 | Shirt int32 `protobuf:"varint,4,opt,name=shirt" json:"shirt,omitempty"` 59 | Pants int32 `protobuf:"varint,5,opt,name=pants" json:"pants,omitempty"` 60 | Hat int32 `protobuf:"varint,6,opt,name=hat" json:"hat,omitempty"` 61 | Shoes int32 `protobuf:"varint,7,opt,name=shoes" json:"shoes,omitempty"` 62 | Gender Gender `protobuf:"varint,8,opt,name=gender,enum=POGOProtos.Enums.Gender" json:"gender,omitempty"` 63 | Eyes int32 `protobuf:"varint,9,opt,name=eyes" json:"eyes,omitempty"` 64 | Backpack int32 `protobuf:"varint,10,opt,name=backpack" json:"backpack,omitempty"` 65 | } 66 | 67 | func (m *PlayerAvatar) Reset() { *m = PlayerAvatar{} } 68 | func (m *PlayerAvatar) String() string { return proto.CompactTextString(m) } 69 | func (*PlayerAvatar) ProtoMessage() {} 70 | 71 | type Currency struct { 72 | Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` 73 | Amount int32 `protobuf:"varint,2,opt,name=amount" json:"amount,omitempty"` 74 | } 75 | 76 | func (m *Currency) Reset() { *m = Currency{} } 77 | func (m *Currency) String() string { return proto.CompactTextString(m) } 78 | func (*Currency) ProtoMessage() {} 79 | 80 | type EquippedBadge struct { 81 | BadgeType BadgeType `protobuf:"varint,1,opt,name=badge_type,enum=POGOProtos.Enums.BadgeType" json:"badge_type,omitempty"` 82 | Level int32 `protobuf:"varint,2,opt,name=level" json:"level,omitempty"` 83 | NextEquipChangeAllowedTimestampMs int64 `protobuf:"varint,3,opt,name=next_equip_change_allowed_timestamp_ms" json:"next_equip_change_allowed_timestamp_ms,omitempty"` 84 | } 85 | 86 | func (m *EquippedBadge) Reset() { *m = EquippedBadge{} } 87 | func (m *EquippedBadge) String() string { return proto.CompactTextString(m) } 88 | func (*EquippedBadge) ProtoMessage() {} 89 | 90 | type PlayerStats struct { 91 | Level int32 `protobuf:"varint,1,opt,name=level" json:"level,omitempty"` 92 | Experience int64 `protobuf:"varint,2,opt,name=experience" json:"experience,omitempty"` 93 | PrevLevelXp int64 `protobuf:"varint,3,opt,name=prev_level_xp" json:"prev_level_xp,omitempty"` 94 | NextLevelXp int64 `protobuf:"varint,4,opt,name=next_level_xp" json:"next_level_xp,omitempty"` 95 | KmWalked float32 `protobuf:"fixed32,5,opt,name=km_walked" json:"km_walked,omitempty"` 96 | PokemonsEncountered int32 `protobuf:"varint,6,opt,name=pokemons_encountered" json:"pokemons_encountered,omitempty"` 97 | UniquePokedexEntries int32 `protobuf:"varint,7,opt,name=unique_pokedex_entries" json:"unique_pokedex_entries,omitempty"` 98 | PokemonsCaptured int32 `protobuf:"varint,8,opt,name=pokemons_captured" json:"pokemons_captured,omitempty"` 99 | Evolutions int32 `protobuf:"varint,9,opt,name=evolutions" json:"evolutions,omitempty"` 100 | PokeStopVisits int32 `protobuf:"varint,10,opt,name=poke_stop_visits" json:"poke_stop_visits,omitempty"` 101 | PokeballsThrown int32 `protobuf:"varint,11,opt,name=pokeballs_thrown" json:"pokeballs_thrown,omitempty"` 102 | EggsHatched int32 `protobuf:"varint,12,opt,name=eggs_hatched" json:"eggs_hatched,omitempty"` 103 | BigMagikarpCaught int32 `protobuf:"varint,13,opt,name=big_magikarp_caught" json:"big_magikarp_caught,omitempty"` 104 | BattleAttackWon int32 `protobuf:"varint,14,opt,name=battle_attack_won" json:"battle_attack_won,omitempty"` 105 | BattleAttackTotal int32 `protobuf:"varint,15,opt,name=battle_attack_total" json:"battle_attack_total,omitempty"` 106 | BattleDefendedWon int32 `protobuf:"varint,16,opt,name=battle_defended_won" json:"battle_defended_won,omitempty"` 107 | BattleTrainingWon int32 `protobuf:"varint,17,opt,name=battle_training_won" json:"battle_training_won,omitempty"` 108 | BattleTrainingTotal int32 `protobuf:"varint,18,opt,name=battle_training_total" json:"battle_training_total,omitempty"` 109 | PrestigeRaisedTotal int32 `protobuf:"varint,19,opt,name=prestige_raised_total" json:"prestige_raised_total,omitempty"` 110 | PrestigeDroppedTotal int32 `protobuf:"varint,20,opt,name=prestige_dropped_total" json:"prestige_dropped_total,omitempty"` 111 | PokemonDeployed int32 `protobuf:"varint,21,opt,name=pokemon_deployed" json:"pokemon_deployed,omitempty"` 112 | PokemonCaughtByType []int32 `protobuf:"varint,22,rep,name=pokemon_caught_by_type" json:"pokemon_caught_by_type,omitempty"` 113 | SmallRattataCaught int32 `protobuf:"varint,23,opt,name=small_rattata_caught" json:"small_rattata_caught,omitempty"` 114 | } 115 | 116 | func (m *PlayerStats) Reset() { *m = PlayerStats{} } 117 | func (m *PlayerStats) String() string { return proto.CompactTextString(m) } 118 | func (*PlayerStats) ProtoMessage() {} 119 | 120 | type PlayerCamera struct { 121 | IsDefaultCamera bool `protobuf:"varint,1,opt,name=is_default_camera" json:"is_default_camera,omitempty"` 122 | } 123 | 124 | func (m *PlayerCamera) Reset() { *m = PlayerCamera{} } 125 | func (m *PlayerCamera) String() string { return proto.CompactTextString(m) } 126 | func (*PlayerCamera) ProtoMessage() {} 127 | 128 | type PlayerCurrency struct { 129 | Gems int32 `protobuf:"varint,1,opt,name=gems" json:"gems,omitempty"` 130 | } 131 | 132 | func (m *PlayerCurrency) Reset() { *m = PlayerCurrency{} } 133 | func (m *PlayerCurrency) String() string { return proto.CompactTextString(m) } 134 | func (*PlayerCurrency) ProtoMessage() {} 135 | 136 | type PlayerPublicProfile struct { 137 | Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` 138 | Level int32 `protobuf:"varint,2,opt,name=level" json:"level,omitempty"` 139 | Avatar *PlayerAvatar `protobuf:"bytes,3,opt,name=avatar" json:"avatar,omitempty"` 140 | } 141 | 142 | func (m *PlayerPublicProfile) Reset() { *m = PlayerPublicProfile{} } 143 | func (m *PlayerPublicProfile) String() string { return proto.CompactTextString(m) } 144 | func (*PlayerPublicProfile) ProtoMessage() {} 145 | 146 | func (m *PlayerPublicProfile) GetAvatar() *PlayerAvatar { 147 | if m != nil { 148 | return m.Avatar 149 | } 150 | return nil 151 | } 152 | 153 | type DailyBonus struct { 154 | NextCollectedTimestampMs int64 `protobuf:"varint,1,opt,name=next_collected_timestamp_ms" json:"next_collected_timestamp_ms,omitempty"` 155 | NextDefenderBonusCollectTimestampMs int64 `protobuf:"varint,2,opt,name=next_defender_bonus_collect_timestamp_ms" json:"next_defender_bonus_collect_timestamp_ms,omitempty"` 156 | } 157 | 158 | func (m *DailyBonus) Reset() { *m = DailyBonus{} } 159 | func (m *DailyBonus) String() string { return proto.CompactTextString(m) } 160 | func (*DailyBonus) ProtoMessage() {} 161 | 162 | func init() { 163 | } 164 | -------------------------------------------------------------------------------- /settings_master_item.pb.go: -------------------------------------------------------------------------------- 1 | // Code generated by protoc-gen-go. 2 | // source: settings_master_item.proto 3 | // DO NOT EDIT! 4 | 5 | package protos 6 | 7 | import proto "github.com/golang/protobuf/proto" 8 | 9 | // Reference imports to suppress errors if they are not otherwise used. 10 | var _ = proto.Marshal 11 | 12 | // Ignoring public import of BadgeType from enums.proto 13 | 14 | // Ignoring public import of TutorialState from enums.proto 15 | 16 | // Ignoring public import of PokemonId from enums.proto 17 | 18 | // Ignoring public import of PokemonMovementType from enums.proto 19 | 20 | // Ignoring public import of Gender from enums.proto 21 | 22 | // Ignoring public import of ActivityType from enums.proto 23 | 24 | // Ignoring public import of CameraTarget from enums.proto 25 | 26 | // Ignoring public import of PokemonFamilyId from enums.proto 27 | 28 | // Ignoring public import of ItemCategory from enums.proto 29 | 30 | // Ignoring public import of CameraInterpolation from enums.proto 31 | 32 | // Ignoring public import of Platform from enums.proto 33 | 34 | // Ignoring public import of TeamColor from enums.proto 35 | 36 | // Ignoring public import of PokemonMove from enums.proto 37 | 38 | // Ignoring public import of ItemEffect from enums.proto 39 | 40 | // Ignoring public import of PokemonType from enums.proto 41 | 42 | // Ignoring public import of HoloIapItemCategory from enums.proto 43 | 44 | // Ignoring public import of PokemonRarity from enums.proto 45 | 46 | // Ignoring public import of EggIncubators from inventory.proto 47 | 48 | // Ignoring public import of InventoryUpgrade from inventory.proto 49 | 50 | // Ignoring public import of InventoryItem from inventory.proto 51 | 52 | // Ignoring public import of DeletedItem from inventory.proto 53 | 54 | // Ignoring public import of AppliedItem from inventory.proto 55 | 56 | // Ignoring public import of EggIncubator from inventory.proto 57 | 58 | // Ignoring public import of InventoryDelta from inventory.proto 59 | 60 | // Ignoring public import of InventoryUpgrades from inventory.proto 61 | 62 | // Ignoring public import of AppliedItems from inventory.proto 63 | 64 | // Ignoring public import of InventoryItemData from inventory.proto 65 | 66 | // Ignoring public import of Candy from inventory.proto 67 | 68 | // Ignoring public import of EggIncubatorType from inventory.proto 69 | 70 | // Ignoring public import of InventoryUpgradeType from inventory.proto 71 | 72 | type FortModifierAttributes struct { 73 | ModifierLifetimeSeconds int32 `protobuf:"varint,1,opt,name=modifier_lifetime_seconds" json:"modifier_lifetime_seconds,omitempty"` 74 | TroyDiskNumPokemonSpawned int32 `protobuf:"varint,2,opt,name=troy_disk_num_pokemon_spawned" json:"troy_disk_num_pokemon_spawned,omitempty"` 75 | } 76 | 77 | func (m *FortModifierAttributes) Reset() { *m = FortModifierAttributes{} } 78 | func (m *FortModifierAttributes) String() string { return proto.CompactTextString(m) } 79 | func (*FortModifierAttributes) ProtoMessage() {} 80 | 81 | type ReviveAttributes struct { 82 | StaPercent float32 `protobuf:"fixed32,1,opt,name=sta_percent" json:"sta_percent,omitempty"` 83 | } 84 | 85 | func (m *ReviveAttributes) Reset() { *m = ReviveAttributes{} } 86 | func (m *ReviveAttributes) String() string { return proto.CompactTextString(m) } 87 | func (*ReviveAttributes) ProtoMessage() {} 88 | 89 | type PokeballAttributes struct { 90 | ItemEffect ItemEffect `protobuf:"varint,1,opt,name=item_effect,enum=POGOProtos.Enums.ItemEffect" json:"item_effect,omitempty"` 91 | CaptureMulti float32 `protobuf:"fixed32,2,opt,name=capture_multi" json:"capture_multi,omitempty"` 92 | CaptureMultiEffect float32 `protobuf:"fixed32,3,opt,name=capture_multi_effect" json:"capture_multi_effect,omitempty"` 93 | ItemEffectMod float32 `protobuf:"fixed32,4,opt,name=item_effect_mod" json:"item_effect_mod,omitempty"` 94 | } 95 | 96 | func (m *PokeballAttributes) Reset() { *m = PokeballAttributes{} } 97 | func (m *PokeballAttributes) String() string { return proto.CompactTextString(m) } 98 | func (*PokeballAttributes) ProtoMessage() {} 99 | 100 | type PotionAttributes struct { 101 | StaPercent float32 `protobuf:"fixed32,1,opt,name=sta_percent" json:"sta_percent,omitempty"` 102 | StaAmount int32 `protobuf:"varint,2,opt,name=sta_amount" json:"sta_amount,omitempty"` 103 | } 104 | 105 | func (m *PotionAttributes) Reset() { *m = PotionAttributes{} } 106 | func (m *PotionAttributes) String() string { return proto.CompactTextString(m) } 107 | func (*PotionAttributes) ProtoMessage() {} 108 | 109 | type IncenseAttributes struct { 110 | IncenseLifetimeSeconds int32 `protobuf:"varint,1,opt,name=incense_lifetime_seconds" json:"incense_lifetime_seconds,omitempty"` 111 | PokemonType []PokemonType `protobuf:"varint,2,rep,name=pokemon_type,enum=POGOProtos.Enums.PokemonType" json:"pokemon_type,omitempty"` 112 | PokemonIncenseTypeProbability float32 `protobuf:"fixed32,3,opt,name=pokemon_incense_type_probability" json:"pokemon_incense_type_probability,omitempty"` 113 | StandingTimeBetweenEncountersSeconds int32 `protobuf:"varint,4,opt,name=standing_time_between_encounters_seconds" json:"standing_time_between_encounters_seconds,omitempty"` 114 | MovingTimeBetweenEncounterSeconds int32 `protobuf:"varint,5,opt,name=moving_time_between_encounter_seconds" json:"moving_time_between_encounter_seconds,omitempty"` 115 | DistanceRequiredForShorterIntervalMeters int32 `protobuf:"varint,6,opt,name=distance_required_for_shorter_interval_meters" json:"distance_required_for_shorter_interval_meters,omitempty"` 116 | PokemonAttractedLengthSec int32 `protobuf:"varint,7,opt,name=pokemon_attracted_length_sec" json:"pokemon_attracted_length_sec,omitempty"` 117 | } 118 | 119 | func (m *IncenseAttributes) Reset() { *m = IncenseAttributes{} } 120 | func (m *IncenseAttributes) String() string { return proto.CompactTextString(m) } 121 | func (*IncenseAttributes) ProtoMessage() {} 122 | 123 | type InventoryUpgradeAttributes struct { 124 | AdditionalStorage int32 `protobuf:"varint,1,opt,name=additional_storage" json:"additional_storage,omitempty"` 125 | UpgradeType InventoryUpgradeType `protobuf:"varint,2,opt,name=upgrade_type,enum=POGOProtos.Inventory.InventoryUpgradeType" json:"upgrade_type,omitempty"` 126 | } 127 | 128 | func (m *InventoryUpgradeAttributes) Reset() { *m = InventoryUpgradeAttributes{} } 129 | func (m *InventoryUpgradeAttributes) String() string { return proto.CompactTextString(m) } 130 | func (*InventoryUpgradeAttributes) ProtoMessage() {} 131 | 132 | type ExperienceBoostAttributes struct { 133 | XpMultiplier float32 `protobuf:"fixed32,1,opt,name=xp_multiplier" json:"xp_multiplier,omitempty"` 134 | BoostDurationMs int32 `protobuf:"varint,2,opt,name=boost_duration_ms" json:"boost_duration_ms,omitempty"` 135 | } 136 | 137 | func (m *ExperienceBoostAttributes) Reset() { *m = ExperienceBoostAttributes{} } 138 | func (m *ExperienceBoostAttributes) String() string { return proto.CompactTextString(m) } 139 | func (*ExperienceBoostAttributes) ProtoMessage() {} 140 | 141 | type FoodAttributes struct { 142 | ItemEffect []ItemEffect `protobuf:"varint,1,rep,name=item_effect,enum=POGOProtos.Enums.ItemEffect" json:"item_effect,omitempty"` 143 | ItemEffectPercent []float32 `protobuf:"fixed32,2,rep,name=item_effect_percent" json:"item_effect_percent,omitempty"` 144 | GrowthPercent float32 `protobuf:"fixed32,3,opt,name=growth_percent" json:"growth_percent,omitempty"` 145 | } 146 | 147 | func (m *FoodAttributes) Reset() { *m = FoodAttributes{} } 148 | func (m *FoodAttributes) String() string { return proto.CompactTextString(m) } 149 | func (*FoodAttributes) ProtoMessage() {} 150 | 151 | type BattleAttributes struct { 152 | StaPercent float32 `protobuf:"fixed32,1,opt,name=sta_percent" json:"sta_percent,omitempty"` 153 | } 154 | 155 | func (m *BattleAttributes) Reset() { *m = BattleAttributes{} } 156 | func (m *BattleAttributes) String() string { return proto.CompactTextString(m) } 157 | func (*BattleAttributes) ProtoMessage() {} 158 | 159 | type EggIncubatorAttributes struct { 160 | IncubatorType EggIncubatorType `protobuf:"varint,1,opt,name=incubator_type,enum=POGOProtos.Inventory.EggIncubatorType" json:"incubator_type,omitempty"` 161 | Uses int32 `protobuf:"varint,2,opt,name=uses" json:"uses,omitempty"` 162 | DistanceMultiplier float32 `protobuf:"fixed32,3,opt,name=distance_multiplier" json:"distance_multiplier,omitempty"` 163 | } 164 | 165 | func (m *EggIncubatorAttributes) Reset() { *m = EggIncubatorAttributes{} } 166 | func (m *EggIncubatorAttributes) String() string { return proto.CompactTextString(m) } 167 | func (*EggIncubatorAttributes) ProtoMessage() {} 168 | 169 | func init() { 170 | } 171 | -------------------------------------------------------------------------------- /networking_requests.pb.go: -------------------------------------------------------------------------------- 1 | // Code generated by protoc-gen-go. 2 | // source: networking_requests.proto 3 | // DO NOT EDIT! 4 | 5 | package protos 6 | 7 | import proto "github.com/golang/protobuf/proto" 8 | 9 | // Reference imports to suppress errors if they are not otherwise used. 10 | var _ = proto.Marshal 11 | 12 | type RequestType int32 13 | 14 | const ( 15 | RequestType_METHOD_UNSET RequestType = 0 16 | RequestType_PLAYER_UPDATE RequestType = 1 17 | RequestType_GET_PLAYER RequestType = 2 18 | RequestType_GET_INVENTORY RequestType = 4 19 | RequestType_DOWNLOAD_SETTINGS RequestType = 5 20 | RequestType_DOWNLOAD_ITEM_TEMPLATES RequestType = 6 21 | RequestType_DOWNLOAD_REMOTE_CONFIG_VERSION RequestType = 7 22 | RequestType_FORT_SEARCH RequestType = 101 23 | RequestType_ENCOUNTER RequestType = 102 24 | RequestType_CATCH_POKEMON RequestType = 103 25 | RequestType_FORT_DETAILS RequestType = 104 26 | RequestType_ITEM_USE RequestType = 105 27 | RequestType_GET_MAP_OBJECTS RequestType = 106 28 | RequestType_FORT_DEPLOY_POKEMON RequestType = 110 29 | RequestType_FORT_RECALL_POKEMON RequestType = 111 30 | RequestType_RELEASE_POKEMON RequestType = 112 31 | RequestType_USE_ITEM_POTION RequestType = 113 32 | RequestType_USE_ITEM_CAPTURE RequestType = 114 33 | RequestType_USE_ITEM_FLEE RequestType = 115 34 | RequestType_USE_ITEM_REVIVE RequestType = 116 35 | RequestType_TRADE_SEARCH RequestType = 117 36 | RequestType_TRADE_OFFER RequestType = 118 37 | RequestType_TRADE_RESPONSE RequestType = 119 38 | RequestType_TRADE_RESULT RequestType = 120 39 | RequestType_GET_PLAYER_PROFILE RequestType = 121 40 | RequestType_GET_ITEM_PACK RequestType = 122 41 | RequestType_BUY_ITEM_PACK RequestType = 123 42 | RequestType_BUY_GEM_PACK RequestType = 124 43 | RequestType_EVOLVE_POKEMON RequestType = 125 44 | RequestType_GET_HATCHED_EGGS RequestType = 126 45 | RequestType_ENCOUNTER_TUTORIAL_COMPLETE RequestType = 127 46 | RequestType_LEVEL_UP_REWARDS RequestType = 128 47 | RequestType_CHECK_AWARDED_BADGES RequestType = 129 48 | RequestType_USE_ITEM_GYM RequestType = 133 49 | RequestType_GET_GYM_DETAILS RequestType = 134 50 | RequestType_START_GYM_BATTLE RequestType = 135 51 | RequestType_ATTACK_GYM RequestType = 136 52 | RequestType_RECYCLE_INVENTORY_ITEM RequestType = 137 53 | RequestType_COLLECT_DAILY_BONUS RequestType = 138 54 | RequestType_USE_ITEM_XP_BOOST RequestType = 139 55 | RequestType_USE_ITEM_EGG_INCUBATOR RequestType = 140 56 | RequestType_USE_INCENSE RequestType = 141 57 | RequestType_GET_INCENSE_POKEMON RequestType = 142 58 | RequestType_INCENSE_ENCOUNTER RequestType = 143 59 | RequestType_ADD_FORT_MODIFIER RequestType = 144 60 | RequestType_DISK_ENCOUNTER RequestType = 145 61 | RequestType_COLLECT_DAILY_DEFENDER_BONUS RequestType = 146 62 | RequestType_UPGRADE_POKEMON RequestType = 147 63 | RequestType_SET_FAVORITE_POKEMON RequestType = 148 64 | RequestType_NICKNAME_POKEMON RequestType = 149 65 | RequestType_EQUIP_BADGE RequestType = 150 66 | RequestType_SET_CONTACT_SETTINGS RequestType = 151 67 | RequestType_SET_BUDDY_POKEMON RequestType = 152 68 | RequestType_GET_BUDDY_WALKED RequestType = 153 69 | RequestType_GET_ASSET_DIGEST RequestType = 300 70 | RequestType_GET_DOWNLOAD_URLS RequestType = 301 71 | RequestType_GET_SUGGESTED_CODENAMES RequestType = 401 72 | RequestType_CHECK_CODENAME_AVAILABLE RequestType = 402 73 | RequestType_CLAIM_CODENAME RequestType = 403 74 | RequestType_SET_AVATAR RequestType = 404 75 | RequestType_SET_PLAYER_TEAM RequestType = 405 76 | RequestType_MARK_TUTORIAL_COMPLETE RequestType = 406 77 | RequestType_LOAD_SPAWN_POINTS RequestType = 500 78 | RequestType_CHECK_CHALLENGE RequestType = 600 79 | RequestType_VERIFY_CHALLENGE RequestType = 601 80 | RequestType_ECHO RequestType = 666 81 | RequestType_DEBUG_UPDATE_INVENTORY RequestType = 700 82 | RequestType_DEBUG_DELETE_PLAYER RequestType = 701 83 | RequestType_SFIDA_REGISTRATION RequestType = 800 84 | RequestType_SFIDA_ACTION_LOG RequestType = 801 85 | RequestType_SFIDA_CERTIFICATION RequestType = 802 86 | RequestType_SFIDA_UPDATE RequestType = 803 87 | RequestType_SFIDA_ACTION RequestType = 804 88 | RequestType_SFIDA_DOWSER RequestType = 805 89 | RequestType_SFIDA_CAPTURE RequestType = 806 90 | ) 91 | 92 | var RequestType_name = map[int32]string{ 93 | 0: "METHOD_UNSET", 94 | 1: "PLAYER_UPDATE", 95 | 2: "GET_PLAYER", 96 | 4: "GET_INVENTORY", 97 | 5: "DOWNLOAD_SETTINGS", 98 | 6: "DOWNLOAD_ITEM_TEMPLATES", 99 | 7: "DOWNLOAD_REMOTE_CONFIG_VERSION", 100 | 101: "FORT_SEARCH", 101 | 102: "ENCOUNTER", 102 | 103: "CATCH_POKEMON", 103 | 104: "FORT_DETAILS", 104 | 105: "ITEM_USE", 105 | 106: "GET_MAP_OBJECTS", 106 | 110: "FORT_DEPLOY_POKEMON", 107 | 111: "FORT_RECALL_POKEMON", 108 | 112: "RELEASE_POKEMON", 109 | 113: "USE_ITEM_POTION", 110 | 114: "USE_ITEM_CAPTURE", 111 | 115: "USE_ITEM_FLEE", 112 | 116: "USE_ITEM_REVIVE", 113 | 117: "TRADE_SEARCH", 114 | 118: "TRADE_OFFER", 115 | 119: "TRADE_RESPONSE", 116 | 120: "TRADE_RESULT", 117 | 121: "GET_PLAYER_PROFILE", 118 | 122: "GET_ITEM_PACK", 119 | 123: "BUY_ITEM_PACK", 120 | 124: "BUY_GEM_PACK", 121 | 125: "EVOLVE_POKEMON", 122 | 126: "GET_HATCHED_EGGS", 123 | 127: "ENCOUNTER_TUTORIAL_COMPLETE", 124 | 128: "LEVEL_UP_REWARDS", 125 | 129: "CHECK_AWARDED_BADGES", 126 | 133: "USE_ITEM_GYM", 127 | 134: "GET_GYM_DETAILS", 128 | 135: "START_GYM_BATTLE", 129 | 136: "ATTACK_GYM", 130 | 137: "RECYCLE_INVENTORY_ITEM", 131 | 138: "COLLECT_DAILY_BONUS", 132 | 139: "USE_ITEM_XP_BOOST", 133 | 140: "USE_ITEM_EGG_INCUBATOR", 134 | 141: "USE_INCENSE", 135 | 142: "GET_INCENSE_POKEMON", 136 | 143: "INCENSE_ENCOUNTER", 137 | 144: "ADD_FORT_MODIFIER", 138 | 145: "DISK_ENCOUNTER", 139 | 146: "COLLECT_DAILY_DEFENDER_BONUS", 140 | 147: "UPGRADE_POKEMON", 141 | 148: "SET_FAVORITE_POKEMON", 142 | 149: "NICKNAME_POKEMON", 143 | 150: "EQUIP_BADGE", 144 | 151: "SET_CONTACT_SETTINGS", 145 | 152: "SET_BUDDY_POKEMON", 146 | 153: "GET_BUDDY_WALKED", 147 | 300: "GET_ASSET_DIGEST", 148 | 301: "GET_DOWNLOAD_URLS", 149 | 401: "GET_SUGGESTED_CODENAMES", 150 | 402: "CHECK_CODENAME_AVAILABLE", 151 | 403: "CLAIM_CODENAME", 152 | 404: "SET_AVATAR", 153 | 405: "SET_PLAYER_TEAM", 154 | 406: "MARK_TUTORIAL_COMPLETE", 155 | 500: "LOAD_SPAWN_POINTS", 156 | 600: "CHECK_CHALLENGE", 157 | 601: "VERIFY_CHALLENGE", 158 | 666: "ECHO", 159 | 700: "DEBUG_UPDATE_INVENTORY", 160 | 701: "DEBUG_DELETE_PLAYER", 161 | 800: "SFIDA_REGISTRATION", 162 | 801: "SFIDA_ACTION_LOG", 163 | 802: "SFIDA_CERTIFICATION", 164 | 803: "SFIDA_UPDATE", 165 | 804: "SFIDA_ACTION", 166 | 805: "SFIDA_DOWSER", 167 | 806: "SFIDA_CAPTURE", 168 | } 169 | var RequestType_value = map[string]int32{ 170 | "METHOD_UNSET": 0, 171 | "PLAYER_UPDATE": 1, 172 | "GET_PLAYER": 2, 173 | "GET_INVENTORY": 4, 174 | "DOWNLOAD_SETTINGS": 5, 175 | "DOWNLOAD_ITEM_TEMPLATES": 6, 176 | "DOWNLOAD_REMOTE_CONFIG_VERSION": 7, 177 | "FORT_SEARCH": 101, 178 | "ENCOUNTER": 102, 179 | "CATCH_POKEMON": 103, 180 | "FORT_DETAILS": 104, 181 | "ITEM_USE": 105, 182 | "GET_MAP_OBJECTS": 106, 183 | "FORT_DEPLOY_POKEMON": 110, 184 | "FORT_RECALL_POKEMON": 111, 185 | "RELEASE_POKEMON": 112, 186 | "USE_ITEM_POTION": 113, 187 | "USE_ITEM_CAPTURE": 114, 188 | "USE_ITEM_FLEE": 115, 189 | "USE_ITEM_REVIVE": 116, 190 | "TRADE_SEARCH": 117, 191 | "TRADE_OFFER": 118, 192 | "TRADE_RESPONSE": 119, 193 | "TRADE_RESULT": 120, 194 | "GET_PLAYER_PROFILE": 121, 195 | "GET_ITEM_PACK": 122, 196 | "BUY_ITEM_PACK": 123, 197 | "BUY_GEM_PACK": 124, 198 | "EVOLVE_POKEMON": 125, 199 | "GET_HATCHED_EGGS": 126, 200 | "ENCOUNTER_TUTORIAL_COMPLETE": 127, 201 | "LEVEL_UP_REWARDS": 128, 202 | "CHECK_AWARDED_BADGES": 129, 203 | "USE_ITEM_GYM": 133, 204 | "GET_GYM_DETAILS": 134, 205 | "START_GYM_BATTLE": 135, 206 | "ATTACK_GYM": 136, 207 | "RECYCLE_INVENTORY_ITEM": 137, 208 | "COLLECT_DAILY_BONUS": 138, 209 | "USE_ITEM_XP_BOOST": 139, 210 | "USE_ITEM_EGG_INCUBATOR": 140, 211 | "USE_INCENSE": 141, 212 | "GET_INCENSE_POKEMON": 142, 213 | "INCENSE_ENCOUNTER": 143, 214 | "ADD_FORT_MODIFIER": 144, 215 | "DISK_ENCOUNTER": 145, 216 | "COLLECT_DAILY_DEFENDER_BONUS": 146, 217 | "UPGRADE_POKEMON": 147, 218 | "SET_FAVORITE_POKEMON": 148, 219 | "NICKNAME_POKEMON": 149, 220 | "EQUIP_BADGE": 150, 221 | "SET_CONTACT_SETTINGS": 151, 222 | "SET_BUDDY_POKEMON": 152, 223 | "GET_BUDDY_WALKED": 153, 224 | "GET_ASSET_DIGEST": 300, 225 | "GET_DOWNLOAD_URLS": 301, 226 | "GET_SUGGESTED_CODENAMES": 401, 227 | "CHECK_CODENAME_AVAILABLE": 402, 228 | "CLAIM_CODENAME": 403, 229 | "SET_AVATAR": 404, 230 | "SET_PLAYER_TEAM": 405, 231 | "MARK_TUTORIAL_COMPLETE": 406, 232 | "LOAD_SPAWN_POINTS": 500, 233 | "CHECK_CHALLENGE": 600, 234 | "VERIFY_CHALLENGE": 601, 235 | "ECHO": 666, 236 | "DEBUG_UPDATE_INVENTORY": 700, 237 | "DEBUG_DELETE_PLAYER": 701, 238 | "SFIDA_REGISTRATION": 800, 239 | "SFIDA_ACTION_LOG": 801, 240 | "SFIDA_CERTIFICATION": 802, 241 | "SFIDA_UPDATE": 803, 242 | "SFIDA_ACTION": 804, 243 | "SFIDA_DOWSER": 805, 244 | "SFIDA_CAPTURE": 806, 245 | } 246 | 247 | func (x RequestType) String() string { 248 | return proto.EnumName(RequestType_name, int32(x)) 249 | } 250 | 251 | type Request struct { 252 | RequestType RequestType `protobuf:"varint,1,opt,name=request_type,enum=POGOProtos.Networking.Requests.RequestType" json:"request_type,omitempty"` 253 | RequestMessage []byte `protobuf:"bytes,2,opt,name=request_message,proto3" json:"request_message,omitempty"` 254 | } 255 | 256 | func (m *Request) Reset() { *m = Request{} } 257 | func (m *Request) String() string { return proto.CompactTextString(m) } 258 | func (*Request) ProtoMessage() {} 259 | 260 | func init() { 261 | proto.RegisterEnum("POGOProtos.Networking.Requests.RequestType", RequestType_name, RequestType_value) 262 | } 263 | -------------------------------------------------------------------------------- /data_battle.pb.go: -------------------------------------------------------------------------------- 1 | // Code generated by protoc-gen-go. 2 | // source: data_battle.proto 3 | // DO NOT EDIT! 4 | 5 | package protos 6 | 7 | import proto "github.com/golang/protobuf/proto" 8 | 9 | // Reference imports to suppress errors if they are not otherwise used. 10 | var _ = proto.Marshal 11 | 12 | // Ignoring public import of ContactSettings from data_player.proto 13 | 14 | // Ignoring public import of PlayerAvatar from data_player.proto 15 | 16 | // Ignoring public import of Currency from data_player.proto 17 | 18 | // Ignoring public import of EquippedBadge from data_player.proto 19 | 20 | // Ignoring public import of PlayerStats from data_player.proto 21 | 22 | // Ignoring public import of PlayerCamera from data_player.proto 23 | 24 | // Ignoring public import of PlayerCurrency from data_player.proto 25 | 26 | // Ignoring public import of PlayerPublicProfile from data_player.proto 27 | 28 | // Ignoring public import of DailyBonus from data_player.proto 29 | 30 | // Ignoring public import of PokedexEntry from data.proto 31 | 32 | // Ignoring public import of PlayerData from data.proto 33 | 34 | // Ignoring public import of DownloadUrlEntry from data.proto 35 | 36 | // Ignoring public import of AssetDigestEntry from data.proto 37 | 38 | // Ignoring public import of PlayerBadge from data.proto 39 | 40 | // Ignoring public import of PokemonData from data.proto 41 | 42 | // Ignoring public import of BuddyPokemon from data.proto 43 | 44 | // Ignoring public import of GymState from data_gym.proto 45 | 46 | // Ignoring public import of GymMembership from data_gym.proto 47 | 48 | type BattleType int32 49 | 50 | const ( 51 | BattleType_BATTLE_TYPE_UNSET BattleType = 0 52 | BattleType_BATTLE_TYPE_NORMAL BattleType = 1 53 | BattleType_BATTLE_TYPE_TRAINING BattleType = 2 54 | ) 55 | 56 | var BattleType_name = map[int32]string{ 57 | 0: "BATTLE_TYPE_UNSET", 58 | 1: "BATTLE_TYPE_NORMAL", 59 | 2: "BATTLE_TYPE_TRAINING", 60 | } 61 | var BattleType_value = map[string]int32{ 62 | "BATTLE_TYPE_UNSET": 0, 63 | "BATTLE_TYPE_NORMAL": 1, 64 | "BATTLE_TYPE_TRAINING": 2, 65 | } 66 | 67 | func (x BattleType) String() string { 68 | return proto.EnumName(BattleType_name, int32(x)) 69 | } 70 | 71 | type BattleState int32 72 | 73 | const ( 74 | BattleState_STATE_UNSET BattleState = 0 75 | BattleState_ACTIVE BattleState = 1 76 | BattleState_VICTORY BattleState = 2 77 | BattleState_DEFEATED BattleState = 3 78 | BattleState_TIMED_OUT BattleState = 4 79 | ) 80 | 81 | var BattleState_name = map[int32]string{ 82 | 0: "STATE_UNSET", 83 | 1: "ACTIVE", 84 | 2: "VICTORY", 85 | 3: "DEFEATED", 86 | 4: "TIMED_OUT", 87 | } 88 | var BattleState_value = map[string]int32{ 89 | "STATE_UNSET": 0, 90 | "ACTIVE": 1, 91 | "VICTORY": 2, 92 | "DEFEATED": 3, 93 | "TIMED_OUT": 4, 94 | } 95 | 96 | func (x BattleState) String() string { 97 | return proto.EnumName(BattleState_name, int32(x)) 98 | } 99 | 100 | type BattleActionType int32 101 | 102 | const ( 103 | BattleActionType_ACTION_UNSET BattleActionType = 0 104 | BattleActionType_ACTION_ATTACK BattleActionType = 1 105 | BattleActionType_ACTION_DODGE BattleActionType = 2 106 | BattleActionType_ACTION_SPECIAL_ATTACK BattleActionType = 3 107 | BattleActionType_ACTION_SWAP_POKEMON BattleActionType = 4 108 | BattleActionType_ACTION_FAINT BattleActionType = 5 109 | BattleActionType_ACTION_PLAYER_JOIN BattleActionType = 6 110 | BattleActionType_ACTION_PLAYER_QUIT BattleActionType = 7 111 | BattleActionType_ACTION_VICTORY BattleActionType = 8 112 | BattleActionType_ACTION_DEFEAT BattleActionType = 9 113 | BattleActionType_ACTION_TIMED_OUT BattleActionType = 10 114 | ) 115 | 116 | var BattleActionType_name = map[int32]string{ 117 | 0: "ACTION_UNSET", 118 | 1: "ACTION_ATTACK", 119 | 2: "ACTION_DODGE", 120 | 3: "ACTION_SPECIAL_ATTACK", 121 | 4: "ACTION_SWAP_POKEMON", 122 | 5: "ACTION_FAINT", 123 | 6: "ACTION_PLAYER_JOIN", 124 | 7: "ACTION_PLAYER_QUIT", 125 | 8: "ACTION_VICTORY", 126 | 9: "ACTION_DEFEAT", 127 | 10: "ACTION_TIMED_OUT", 128 | } 129 | var BattleActionType_value = map[string]int32{ 130 | "ACTION_UNSET": 0, 131 | "ACTION_ATTACK": 1, 132 | "ACTION_DODGE": 2, 133 | "ACTION_SPECIAL_ATTACK": 3, 134 | "ACTION_SWAP_POKEMON": 4, 135 | "ACTION_FAINT": 5, 136 | "ACTION_PLAYER_JOIN": 6, 137 | "ACTION_PLAYER_QUIT": 7, 138 | "ACTION_VICTORY": 8, 139 | "ACTION_DEFEAT": 9, 140 | "ACTION_TIMED_OUT": 10, 141 | } 142 | 143 | func (x BattleActionType) String() string { 144 | return proto.EnumName(BattleActionType_name, int32(x)) 145 | } 146 | 147 | type BattleAction struct { 148 | Type BattleActionType `protobuf:"varint,1,opt,enum=POGOProtos.Data.Battle.BattleActionType" json:"Type,omitempty"` 149 | ActionStartMs int64 `protobuf:"varint,2,opt,name=action_start_ms" json:"action_start_ms,omitempty"` 150 | DurationMs int32 `protobuf:"varint,3,opt,name=duration_ms" json:"duration_ms,omitempty"` 151 | EnergyDelta int32 `protobuf:"varint,5,opt,name=energy_delta" json:"energy_delta,omitempty"` 152 | AttackerIndex int32 `protobuf:"varint,6,opt,name=attacker_index" json:"attacker_index,omitempty"` 153 | TargetIndex int32 `protobuf:"varint,7,opt,name=target_index" json:"target_index,omitempty"` 154 | ActivePokemonId uint64 `protobuf:"fixed64,8,opt,name=active_pokemon_id" json:"active_pokemon_id,omitempty"` 155 | PlayerJoined *BattleParticipant `protobuf:"bytes,9,opt,name=player_joined" json:"player_joined,omitempty"` 156 | BattleResults *BattleResults `protobuf:"bytes,10,opt,name=battle_results" json:"battle_results,omitempty"` 157 | DamageWindowsStartTimestampMs int64 `protobuf:"varint,11,opt,name=damage_windows_start_timestamp_ms" json:"damage_windows_start_timestamp_ms,omitempty"` 158 | DamageWindowsEndTimestampMs int64 `protobuf:"varint,12,opt,name=damage_windows_end_timestamp_ms" json:"damage_windows_end_timestamp_ms,omitempty"` 159 | PlayerLeft *BattleParticipant `protobuf:"bytes,13,opt,name=player_left" json:"player_left,omitempty"` 160 | TargetPokemonId uint64 `protobuf:"fixed64,14,opt,name=target_pokemon_id" json:"target_pokemon_id,omitempty"` 161 | } 162 | 163 | func (m *BattleAction) Reset() { *m = BattleAction{} } 164 | func (m *BattleAction) String() string { return proto.CompactTextString(m) } 165 | func (*BattleAction) ProtoMessage() {} 166 | 167 | func (m *BattleAction) GetPlayerJoined() *BattleParticipant { 168 | if m != nil { 169 | return m.PlayerJoined 170 | } 171 | return nil 172 | } 173 | 174 | func (m *BattleAction) GetBattleResults() *BattleResults { 175 | if m != nil { 176 | return m.BattleResults 177 | } 178 | return nil 179 | } 180 | 181 | func (m *BattleAction) GetPlayerLeft() *BattleParticipant { 182 | if m != nil { 183 | return m.PlayerLeft 184 | } 185 | return nil 186 | } 187 | 188 | type BattleParticipant struct { 189 | ActivePokemon *BattlePokemonInfo `protobuf:"bytes,1,opt,name=active_pokemon" json:"active_pokemon,omitempty"` 190 | TrainerPublicProfile *PlayerPublicProfile `protobuf:"bytes,2,opt,name=trainer_public_profile" json:"trainer_public_profile,omitempty"` 191 | ReversePokemon []*BattlePokemonInfo `protobuf:"bytes,3,rep,name=reverse_pokemon" json:"reverse_pokemon,omitempty"` 192 | DefeatedPokemon []*BattlePokemonInfo `protobuf:"bytes,4,rep,name=defeated_pokemon" json:"defeated_pokemon,omitempty"` 193 | } 194 | 195 | func (m *BattleParticipant) Reset() { *m = BattleParticipant{} } 196 | func (m *BattleParticipant) String() string { return proto.CompactTextString(m) } 197 | func (*BattleParticipant) ProtoMessage() {} 198 | 199 | func (m *BattleParticipant) GetActivePokemon() *BattlePokemonInfo { 200 | if m != nil { 201 | return m.ActivePokemon 202 | } 203 | return nil 204 | } 205 | 206 | func (m *BattleParticipant) GetTrainerPublicProfile() *PlayerPublicProfile { 207 | if m != nil { 208 | return m.TrainerPublicProfile 209 | } 210 | return nil 211 | } 212 | 213 | func (m *BattleParticipant) GetReversePokemon() []*BattlePokemonInfo { 214 | if m != nil { 215 | return m.ReversePokemon 216 | } 217 | return nil 218 | } 219 | 220 | func (m *BattleParticipant) GetDefeatedPokemon() []*BattlePokemonInfo { 221 | if m != nil { 222 | return m.DefeatedPokemon 223 | } 224 | return nil 225 | } 226 | 227 | type BattlePokemonInfo struct { 228 | PokemonData *PokemonData `protobuf:"bytes,1,opt,name=pokemon_data" json:"pokemon_data,omitempty"` 229 | CurrentHealth int32 `protobuf:"varint,2,opt,name=current_health" json:"current_health,omitempty"` 230 | CurrentEnergy int32 `protobuf:"varint,3,opt,name=current_energy" json:"current_energy,omitempty"` 231 | } 232 | 233 | func (m *BattlePokemonInfo) Reset() { *m = BattlePokemonInfo{} } 234 | func (m *BattlePokemonInfo) String() string { return proto.CompactTextString(m) } 235 | func (*BattlePokemonInfo) ProtoMessage() {} 236 | 237 | func (m *BattlePokemonInfo) GetPokemonData() *PokemonData { 238 | if m != nil { 239 | return m.PokemonData 240 | } 241 | return nil 242 | } 243 | 244 | type BattleLog struct { 245 | State BattleState `protobuf:"varint,1,opt,name=state,enum=POGOProtos.Data.Battle.BattleState" json:"state,omitempty"` 246 | BattleType BattleType `protobuf:"varint,2,opt,name=battle_type,enum=POGOProtos.Data.Battle.BattleType" json:"battle_type,omitempty"` 247 | ServerMs int64 `protobuf:"varint,3,opt,name=server_ms" json:"server_ms,omitempty"` 248 | BattleActions []*BattleAction `protobuf:"bytes,4,rep,name=battle_actions" json:"battle_actions,omitempty"` 249 | BattleStartTimestampMs int64 `protobuf:"varint,5,opt,name=battle_start_timestamp_ms" json:"battle_start_timestamp_ms,omitempty"` 250 | BattleEndTimestampMs int64 `protobuf:"varint,6,opt,name=battle_end_timestamp_ms" json:"battle_end_timestamp_ms,omitempty"` 251 | } 252 | 253 | func (m *BattleLog) Reset() { *m = BattleLog{} } 254 | func (m *BattleLog) String() string { return proto.CompactTextString(m) } 255 | func (*BattleLog) ProtoMessage() {} 256 | 257 | func (m *BattleLog) GetBattleActions() []*BattleAction { 258 | if m != nil { 259 | return m.BattleActions 260 | } 261 | return nil 262 | } 263 | 264 | type BattleResults struct { 265 | GymState *GymState `protobuf:"bytes,1,opt,name=gym_state" json:"gym_state,omitempty"` 266 | Attackers []*BattleParticipant `protobuf:"bytes,2,rep,name=attackers" json:"attackers,omitempty"` 267 | PlayerExperienceAwarded []int32 `protobuf:"varint,3,rep,name=player_experience_awarded" json:"player_experience_awarded,omitempty"` 268 | NextDefenderPokemonId int64 `protobuf:"varint,4,opt,name=next_defender_pokemon_id" json:"next_defender_pokemon_id,omitempty"` 269 | GymPointsDelta int32 `protobuf:"varint,5,opt,name=gym_points_delta" json:"gym_points_delta,omitempty"` 270 | } 271 | 272 | func (m *BattleResults) Reset() { *m = BattleResults{} } 273 | func (m *BattleResults) String() string { return proto.CompactTextString(m) } 274 | func (*BattleResults) ProtoMessage() {} 275 | 276 | func (m *BattleResults) GetGymState() *GymState { 277 | if m != nil { 278 | return m.GymState 279 | } 280 | return nil 281 | } 282 | 283 | func (m *BattleResults) GetAttackers() []*BattleParticipant { 284 | if m != nil { 285 | return m.Attackers 286 | } 287 | return nil 288 | } 289 | 290 | func init() { 291 | proto.RegisterEnum("POGOProtos.Data.Battle.BattleType", BattleType_name, BattleType_value) 292 | proto.RegisterEnum("POGOProtos.Data.Battle.BattleState", BattleState_name, BattleState_value) 293 | proto.RegisterEnum("POGOProtos.Data.Battle.BattleActionType", BattleActionType_name, BattleActionType_value) 294 | } 295 | -------------------------------------------------------------------------------- /data.pb.go: -------------------------------------------------------------------------------- 1 | // Code generated by protoc-gen-go. 2 | // source: data.proto 3 | // DO NOT EDIT! 4 | 5 | package protos 6 | 7 | import proto "github.com/golang/protobuf/proto" 8 | 9 | // Reference imports to suppress errors if they are not otherwise used. 10 | var _ = proto.Marshal 11 | 12 | // Ignoring public import of BadgeType from enums.proto 13 | 14 | // Ignoring public import of TutorialState from enums.proto 15 | 16 | // Ignoring public import of PokemonId from enums.proto 17 | 18 | // Ignoring public import of PokemonMovementType from enums.proto 19 | 20 | // Ignoring public import of Gender from enums.proto 21 | 22 | // Ignoring public import of ActivityType from enums.proto 23 | 24 | // Ignoring public import of CameraTarget from enums.proto 25 | 26 | // Ignoring public import of PokemonFamilyId from enums.proto 27 | 28 | // Ignoring public import of ItemCategory from enums.proto 29 | 30 | // Ignoring public import of CameraInterpolation from enums.proto 31 | 32 | // Ignoring public import of Platform from enums.proto 33 | 34 | // Ignoring public import of TeamColor from enums.proto 35 | 36 | // Ignoring public import of PokemonMove from enums.proto 37 | 38 | // Ignoring public import of ItemEffect from enums.proto 39 | 40 | // Ignoring public import of PokemonType from enums.proto 41 | 42 | // Ignoring public import of HoloIapItemCategory from enums.proto 43 | 44 | // Ignoring public import of PokemonRarity from enums.proto 45 | 46 | // Ignoring public import of ContactSettings from data_player.proto 47 | 48 | // Ignoring public import of PlayerAvatar from data_player.proto 49 | 50 | // Ignoring public import of Currency from data_player.proto 51 | 52 | // Ignoring public import of EquippedBadge from data_player.proto 53 | 54 | // Ignoring public import of PlayerStats from data_player.proto 55 | 56 | // Ignoring public import of PlayerCamera from data_player.proto 57 | 58 | // Ignoring public import of PlayerCurrency from data_player.proto 59 | 60 | // Ignoring public import of PlayerPublicProfile from data_player.proto 61 | 62 | // Ignoring public import of DailyBonus from data_player.proto 63 | 64 | // Ignoring public import of ItemData from inventory_item.proto 65 | 66 | // Ignoring public import of ItemAward from inventory_item.proto 67 | 68 | // Ignoring public import of ItemId from inventory_item.proto 69 | 70 | // Ignoring public import of ItemType from inventory_item.proto 71 | 72 | type PokedexEntry struct { 73 | PokemonId PokemonId `protobuf:"varint,1,opt,name=pokemon_id,enum=POGOProtos.Enums.PokemonId" json:"pokemon_id,omitempty"` 74 | TimesEncountered int32 `protobuf:"varint,2,opt,name=times_encountered" json:"times_encountered,omitempty"` 75 | TimesCaptured int32 `protobuf:"varint,3,opt,name=times_captured" json:"times_captured,omitempty"` 76 | EvolutionStonePieces int32 `protobuf:"varint,4,opt,name=evolution_stone_pieces" json:"evolution_stone_pieces,omitempty"` 77 | EvolutionStones int32 `protobuf:"varint,5,opt,name=evolution_stones" json:"evolution_stones,omitempty"` 78 | } 79 | 80 | func (m *PokedexEntry) Reset() { *m = PokedexEntry{} } 81 | func (m *PokedexEntry) String() string { return proto.CompactTextString(m) } 82 | func (*PokedexEntry) ProtoMessage() {} 83 | 84 | type PlayerData struct { 85 | CreationTimestampMs int64 `protobuf:"varint,1,opt,name=creation_timestamp_ms" json:"creation_timestamp_ms,omitempty"` 86 | Username string `protobuf:"bytes,2,opt,name=username" json:"username,omitempty"` 87 | Team TeamColor `protobuf:"varint,5,opt,name=team,enum=POGOProtos.Enums.TeamColor" json:"team,omitempty"` 88 | TutorialState []TutorialState `protobuf:"varint,7,rep,packed,name=tutorial_state,enum=POGOProtos.Enums.TutorialState" json:"tutorial_state,omitempty"` 89 | Avatar *PlayerAvatar `protobuf:"bytes,8,opt,name=avatar" json:"avatar,omitempty"` 90 | MaxPokemonStorage int32 `protobuf:"varint,9,opt,name=max_pokemon_storage" json:"max_pokemon_storage,omitempty"` 91 | MaxItemStorage int32 `protobuf:"varint,10,opt,name=max_item_storage" json:"max_item_storage,omitempty"` 92 | DailyBonus *DailyBonus `protobuf:"bytes,11,opt,name=daily_bonus" json:"daily_bonus,omitempty"` 93 | EquippedBadge *EquippedBadge `protobuf:"bytes,12,opt,name=equipped_badge" json:"equipped_badge,omitempty"` 94 | ContactSettings *ContactSettings `protobuf:"bytes,13,opt,name=contact_settings" json:"contact_settings,omitempty"` 95 | Currencies []*Currency `protobuf:"bytes,14,rep,name=currencies" json:"currencies,omitempty"` 96 | RemainingCodenameClaims int32 `protobuf:"varint,15,opt,name=remaining_codename_claims" json:"remaining_codename_claims,omitempty"` 97 | BuddyPokemon *BuddyPokemon `protobuf:"bytes,16,opt,name=buddy_pokemon" json:"buddy_pokemon,omitempty"` 98 | } 99 | 100 | func (m *PlayerData) Reset() { *m = PlayerData{} } 101 | func (m *PlayerData) String() string { return proto.CompactTextString(m) } 102 | func (*PlayerData) ProtoMessage() {} 103 | 104 | func (m *PlayerData) GetAvatar() *PlayerAvatar { 105 | if m != nil { 106 | return m.Avatar 107 | } 108 | return nil 109 | } 110 | 111 | func (m *PlayerData) GetDailyBonus() *DailyBonus { 112 | if m != nil { 113 | return m.DailyBonus 114 | } 115 | return nil 116 | } 117 | 118 | func (m *PlayerData) GetEquippedBadge() *EquippedBadge { 119 | if m != nil { 120 | return m.EquippedBadge 121 | } 122 | return nil 123 | } 124 | 125 | func (m *PlayerData) GetContactSettings() *ContactSettings { 126 | if m != nil { 127 | return m.ContactSettings 128 | } 129 | return nil 130 | } 131 | 132 | func (m *PlayerData) GetCurrencies() []*Currency { 133 | if m != nil { 134 | return m.Currencies 135 | } 136 | return nil 137 | } 138 | 139 | func (m *PlayerData) GetBuddyPokemon() *BuddyPokemon { 140 | if m != nil { 141 | return m.BuddyPokemon 142 | } 143 | return nil 144 | } 145 | 146 | type DownloadUrlEntry struct { 147 | AssetId string `protobuf:"bytes,1,opt,name=asset_id" json:"asset_id,omitempty"` 148 | Url string `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"` 149 | Size int32 `protobuf:"varint,3,opt,name=size" json:"size,omitempty"` 150 | Checksum uint32 `protobuf:"fixed32,4,opt,name=checksum" json:"checksum,omitempty"` 151 | } 152 | 153 | func (m *DownloadUrlEntry) Reset() { *m = DownloadUrlEntry{} } 154 | func (m *DownloadUrlEntry) String() string { return proto.CompactTextString(m) } 155 | func (*DownloadUrlEntry) ProtoMessage() {} 156 | 157 | type AssetDigestEntry struct { 158 | AssetId string `protobuf:"bytes,1,opt,name=asset_id" json:"asset_id,omitempty"` 159 | BundleName string `protobuf:"bytes,2,opt,name=bundle_name" json:"bundle_name,omitempty"` 160 | Version int64 `protobuf:"varint,3,opt,name=version" json:"version,omitempty"` 161 | Checksum uint32 `protobuf:"fixed32,4,opt,name=checksum" json:"checksum,omitempty"` 162 | Size int32 `protobuf:"varint,5,opt,name=size" json:"size,omitempty"` 163 | Key []byte `protobuf:"bytes,6,opt,name=key,proto3" json:"key,omitempty"` 164 | } 165 | 166 | func (m *AssetDigestEntry) Reset() { *m = AssetDigestEntry{} } 167 | func (m *AssetDigestEntry) String() string { return proto.CompactTextString(m) } 168 | func (*AssetDigestEntry) ProtoMessage() {} 169 | 170 | type PlayerBadge struct { 171 | BadgeType BadgeType `protobuf:"varint,1,opt,name=badge_type,enum=POGOProtos.Enums.BadgeType" json:"badge_type,omitempty"` 172 | Rank int32 `protobuf:"varint,2,opt,name=rank" json:"rank,omitempty"` 173 | StartValue int32 `protobuf:"varint,3,opt,name=start_value" json:"start_value,omitempty"` 174 | EndValue int32 `protobuf:"varint,4,opt,name=end_value" json:"end_value,omitempty"` 175 | CurrentValue float64 `protobuf:"fixed64,5,opt,name=current_value" json:"current_value,omitempty"` 176 | } 177 | 178 | func (m *PlayerBadge) Reset() { *m = PlayerBadge{} } 179 | func (m *PlayerBadge) String() string { return proto.CompactTextString(m) } 180 | func (*PlayerBadge) ProtoMessage() {} 181 | 182 | type PokemonData struct { 183 | Id uint64 `protobuf:"fixed64,1,opt,name=id" json:"id,omitempty"` 184 | PokemonId PokemonId `protobuf:"varint,2,opt,name=pokemon_id,enum=POGOProtos.Enums.PokemonId" json:"pokemon_id,omitempty"` 185 | Cp int32 `protobuf:"varint,3,opt,name=cp" json:"cp,omitempty"` 186 | Stamina int32 `protobuf:"varint,4,opt,name=stamina" json:"stamina,omitempty"` 187 | StaminaMax int32 `protobuf:"varint,5,opt,name=stamina_max" json:"stamina_max,omitempty"` 188 | Move_1 PokemonMove `protobuf:"varint,6,opt,name=move_1,enum=POGOProtos.Enums.PokemonMove" json:"move_1,omitempty"` 189 | Move_2 PokemonMove `protobuf:"varint,7,opt,name=move_2,enum=POGOProtos.Enums.PokemonMove" json:"move_2,omitempty"` 190 | DeployedFortId string `protobuf:"bytes,8,opt,name=deployed_fort_id" json:"deployed_fort_id,omitempty"` 191 | OwnerName string `protobuf:"bytes,9,opt,name=owner_name" json:"owner_name,omitempty"` 192 | IsEgg bool `protobuf:"varint,10,opt,name=is_egg" json:"is_egg,omitempty"` 193 | EggKmWalkedTarget float64 `protobuf:"fixed64,11,opt,name=egg_km_walked_target" json:"egg_km_walked_target,omitempty"` 194 | EggKmWalkedStart float64 `protobuf:"fixed64,12,opt,name=egg_km_walked_start" json:"egg_km_walked_start,omitempty"` 195 | Origin int32 `protobuf:"varint,14,opt,name=origin" json:"origin,omitempty"` 196 | HeightM float32 `protobuf:"fixed32,15,opt,name=height_m" json:"height_m,omitempty"` 197 | WeightKg float32 `protobuf:"fixed32,16,opt,name=weight_kg" json:"weight_kg,omitempty"` 198 | IndividualAttack int32 `protobuf:"varint,17,opt,name=individual_attack" json:"individual_attack,omitempty"` 199 | IndividualDefense int32 `protobuf:"varint,18,opt,name=individual_defense" json:"individual_defense,omitempty"` 200 | IndividualStamina int32 `protobuf:"varint,19,opt,name=individual_stamina" json:"individual_stamina,omitempty"` 201 | CpMultiplier float32 `protobuf:"fixed32,20,opt,name=cp_multiplier" json:"cp_multiplier,omitempty"` 202 | Pokeball ItemId `protobuf:"varint,21,opt,name=pokeball,enum=POGOProtos.Inventory.Item.ItemId" json:"pokeball,omitempty"` 203 | CapturedCellId uint64 `protobuf:"varint,22,opt,name=captured_cell_id" json:"captured_cell_id,omitempty"` 204 | BattlesAttacked int32 `protobuf:"varint,23,opt,name=battles_attacked" json:"battles_attacked,omitempty"` 205 | BattlesDefended int32 `protobuf:"varint,24,opt,name=battles_defended" json:"battles_defended,omitempty"` 206 | EggIncubatorId string `protobuf:"bytes,25,opt,name=egg_incubator_id" json:"egg_incubator_id,omitempty"` 207 | CreationTimeMs uint64 `protobuf:"varint,26,opt,name=creation_time_ms" json:"creation_time_ms,omitempty"` 208 | NumUpgrades int32 `protobuf:"varint,27,opt,name=num_upgrades" json:"num_upgrades,omitempty"` 209 | AdditionalCpMultiplier float32 `protobuf:"fixed32,28,opt,name=additional_cp_multiplier" json:"additional_cp_multiplier,omitempty"` 210 | Favorite int32 `protobuf:"varint,29,opt,name=favorite" json:"favorite,omitempty"` 211 | Nickname string `protobuf:"bytes,30,opt,name=nickname" json:"nickname,omitempty"` 212 | FromFort int32 `protobuf:"varint,31,opt,name=from_fort" json:"from_fort,omitempty"` 213 | BuddyCandyAwarded int32 `protobuf:"varint,32,opt,name=buddy_candy_awarded" json:"buddy_candy_awarded,omitempty"` 214 | } 215 | 216 | func (m *PokemonData) Reset() { *m = PokemonData{} } 217 | func (m *PokemonData) String() string { return proto.CompactTextString(m) } 218 | func (*PokemonData) ProtoMessage() {} 219 | 220 | type BuddyPokemon struct { 221 | Id uint64 `protobuf:"fixed64,1,opt,name=id" json:"id,omitempty"` 222 | StartKmWalked float64 `protobuf:"fixed64,2,opt,name=start_km_walked" json:"start_km_walked,omitempty"` 223 | LastKmAwarded float64 `protobuf:"fixed64,3,opt,name=last_km_awarded" json:"last_km_awarded,omitempty"` 224 | } 225 | 226 | func (m *BuddyPokemon) Reset() { *m = BuddyPokemon{} } 227 | func (m *BuddyPokemon) String() string { return proto.CompactTextString(m) } 228 | func (*BuddyPokemon) ProtoMessage() {} 229 | 230 | func init() { 231 | } 232 | -------------------------------------------------------------------------------- /inventory.pb.go: -------------------------------------------------------------------------------- 1 | // Code generated by protoc-gen-go. 2 | // source: inventory.proto 3 | // DO NOT EDIT! 4 | 5 | package protos 6 | 7 | import proto "github.com/golang/protobuf/proto" 8 | 9 | // Reference imports to suppress errors if they are not otherwise used. 10 | var _ = proto.Marshal 11 | 12 | // Ignoring public import of ItemData from inventory_item.proto 13 | 14 | // Ignoring public import of ItemAward from inventory_item.proto 15 | 16 | // Ignoring public import of ItemId from inventory_item.proto 17 | 18 | // Ignoring public import of ItemType from inventory_item.proto 19 | 20 | // Ignoring public import of PokedexEntry from data.proto 21 | 22 | // Ignoring public import of PlayerData from data.proto 23 | 24 | // Ignoring public import of DownloadUrlEntry from data.proto 25 | 26 | // Ignoring public import of AssetDigestEntry from data.proto 27 | 28 | // Ignoring public import of PlayerBadge from data.proto 29 | 30 | // Ignoring public import of PokemonData from data.proto 31 | 32 | // Ignoring public import of BuddyPokemon from data.proto 33 | 34 | // Ignoring public import of ContactSettings from data_player.proto 35 | 36 | // Ignoring public import of PlayerAvatar from data_player.proto 37 | 38 | // Ignoring public import of Currency from data_player.proto 39 | 40 | // Ignoring public import of EquippedBadge from data_player.proto 41 | 42 | // Ignoring public import of PlayerStats from data_player.proto 43 | 44 | // Ignoring public import of PlayerCamera from data_player.proto 45 | 46 | // Ignoring public import of PlayerCurrency from data_player.proto 47 | 48 | // Ignoring public import of PlayerPublicProfile from data_player.proto 49 | 50 | // Ignoring public import of DailyBonus from data_player.proto 51 | 52 | // Ignoring public import of BadgeType from enums.proto 53 | 54 | // Ignoring public import of TutorialState from enums.proto 55 | 56 | // Ignoring public import of PokemonId from enums.proto 57 | 58 | // Ignoring public import of PokemonMovementType from enums.proto 59 | 60 | // Ignoring public import of Gender from enums.proto 61 | 62 | // Ignoring public import of ActivityType from enums.proto 63 | 64 | // Ignoring public import of CameraTarget from enums.proto 65 | 66 | // Ignoring public import of PokemonFamilyId from enums.proto 67 | 68 | // Ignoring public import of ItemCategory from enums.proto 69 | 70 | // Ignoring public import of CameraInterpolation from enums.proto 71 | 72 | // Ignoring public import of Platform from enums.proto 73 | 74 | // Ignoring public import of TeamColor from enums.proto 75 | 76 | // Ignoring public import of PokemonMove from enums.proto 77 | 78 | // Ignoring public import of ItemEffect from enums.proto 79 | 80 | // Ignoring public import of PokemonType from enums.proto 81 | 82 | // Ignoring public import of HoloIapItemCategory from enums.proto 83 | 84 | // Ignoring public import of PokemonRarity from enums.proto 85 | 86 | type EggIncubatorType int32 87 | 88 | const ( 89 | EggIncubatorType_INCUBATOR_UNSET EggIncubatorType = 0 90 | EggIncubatorType_INCUBATOR_DISTANCE EggIncubatorType = 1 91 | ) 92 | 93 | var EggIncubatorType_name = map[int32]string{ 94 | 0: "INCUBATOR_UNSET", 95 | 1: "INCUBATOR_DISTANCE", 96 | } 97 | var EggIncubatorType_value = map[string]int32{ 98 | "INCUBATOR_UNSET": 0, 99 | "INCUBATOR_DISTANCE": 1, 100 | } 101 | 102 | func (x EggIncubatorType) String() string { 103 | return proto.EnumName(EggIncubatorType_name, int32(x)) 104 | } 105 | 106 | type InventoryUpgradeType int32 107 | 108 | const ( 109 | InventoryUpgradeType_UPGRADE_UNSET InventoryUpgradeType = 0 110 | InventoryUpgradeType_INCREASE_ITEM_STORAGE InventoryUpgradeType = 1 111 | InventoryUpgradeType_INCREASE_POKEMON_STORAGE InventoryUpgradeType = 2 112 | ) 113 | 114 | var InventoryUpgradeType_name = map[int32]string{ 115 | 0: "UPGRADE_UNSET", 116 | 1: "INCREASE_ITEM_STORAGE", 117 | 2: "INCREASE_POKEMON_STORAGE", 118 | } 119 | var InventoryUpgradeType_value = map[string]int32{ 120 | "UPGRADE_UNSET": 0, 121 | "INCREASE_ITEM_STORAGE": 1, 122 | "INCREASE_POKEMON_STORAGE": 2, 123 | } 124 | 125 | func (x InventoryUpgradeType) String() string { 126 | return proto.EnumName(InventoryUpgradeType_name, int32(x)) 127 | } 128 | 129 | type EggIncubators struct { 130 | EggIncubator []*EggIncubator `protobuf:"bytes,1,rep,name=egg_incubator" json:"egg_incubator,omitempty"` 131 | } 132 | 133 | func (m *EggIncubators) Reset() { *m = EggIncubators{} } 134 | func (m *EggIncubators) String() string { return proto.CompactTextString(m) } 135 | func (*EggIncubators) ProtoMessage() {} 136 | 137 | func (m *EggIncubators) GetEggIncubator() []*EggIncubator { 138 | if m != nil { 139 | return m.EggIncubator 140 | } 141 | return nil 142 | } 143 | 144 | type InventoryUpgrade struct { 145 | ItemId ItemId `protobuf:"varint,1,opt,name=item_id,enum=POGOProtos.Inventory.Item.ItemId" json:"item_id,omitempty"` 146 | UpgradeType InventoryUpgradeType `protobuf:"varint,2,opt,name=upgrade_type,enum=POGOProtos.Inventory.InventoryUpgradeType" json:"upgrade_type,omitempty"` 147 | AdditionalStorage int32 `protobuf:"varint,3,opt,name=additional_storage" json:"additional_storage,omitempty"` 148 | } 149 | 150 | func (m *InventoryUpgrade) Reset() { *m = InventoryUpgrade{} } 151 | func (m *InventoryUpgrade) String() string { return proto.CompactTextString(m) } 152 | func (*InventoryUpgrade) ProtoMessage() {} 153 | 154 | type InventoryItem struct { 155 | ModifiedTimestampMs int64 `protobuf:"varint,1,opt,name=modified_timestamp_ms" json:"modified_timestamp_ms,omitempty"` 156 | DeletedItem *InventoryItem_DeletedItem `protobuf:"bytes,2,opt,name=deleted_item" json:"deleted_item,omitempty"` 157 | InventoryItemData *InventoryItemData `protobuf:"bytes,3,opt,name=inventory_item_data" json:"inventory_item_data,omitempty"` 158 | } 159 | 160 | func (m *InventoryItem) Reset() { *m = InventoryItem{} } 161 | func (m *InventoryItem) String() string { return proto.CompactTextString(m) } 162 | func (*InventoryItem) ProtoMessage() {} 163 | 164 | func (m *InventoryItem) GetDeletedItem() *InventoryItem_DeletedItem { 165 | if m != nil { 166 | return m.DeletedItem 167 | } 168 | return nil 169 | } 170 | 171 | func (m *InventoryItem) GetInventoryItemData() *InventoryItemData { 172 | if m != nil { 173 | return m.InventoryItemData 174 | } 175 | return nil 176 | } 177 | 178 | type InventoryItem_DeletedItem struct { 179 | PokemonId uint64 `protobuf:"fixed64,1,opt,name=pokemon_id" json:"pokemon_id,omitempty"` 180 | } 181 | 182 | func (m *InventoryItem_DeletedItem) Reset() { *m = InventoryItem_DeletedItem{} } 183 | func (m *InventoryItem_DeletedItem) String() string { return proto.CompactTextString(m) } 184 | func (*InventoryItem_DeletedItem) ProtoMessage() {} 185 | 186 | type AppliedItem struct { 187 | ItemId ItemId `protobuf:"varint,1,opt,name=item_id,enum=POGOProtos.Inventory.Item.ItemId" json:"item_id,omitempty"` 188 | ItemType ItemType `protobuf:"varint,2,opt,name=item_type,enum=POGOProtos.Inventory.Item.ItemType" json:"item_type,omitempty"` 189 | ExpireMs int64 `protobuf:"varint,3,opt,name=expire_ms" json:"expire_ms,omitempty"` 190 | AppliedMs int64 `protobuf:"varint,4,opt,name=applied_ms" json:"applied_ms,omitempty"` 191 | } 192 | 193 | func (m *AppliedItem) Reset() { *m = AppliedItem{} } 194 | func (m *AppliedItem) String() string { return proto.CompactTextString(m) } 195 | func (*AppliedItem) ProtoMessage() {} 196 | 197 | type EggIncubator struct { 198 | Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` 199 | ItemId ItemId `protobuf:"varint,2,opt,name=item_id,enum=POGOProtos.Inventory.Item.ItemId" json:"item_id,omitempty"` 200 | IncubatorType EggIncubatorType `protobuf:"varint,3,opt,name=incubator_type,enum=POGOProtos.Inventory.EggIncubatorType" json:"incubator_type,omitempty"` 201 | UsesRemaining int32 `protobuf:"varint,4,opt,name=uses_remaining" json:"uses_remaining,omitempty"` 202 | PokemonId uint64 `protobuf:"varint,5,opt,name=pokemon_id" json:"pokemon_id,omitempty"` 203 | StartKmWalked float64 `protobuf:"fixed64,6,opt,name=start_km_walked" json:"start_km_walked,omitempty"` 204 | TargetKmWalked float64 `protobuf:"fixed64,7,opt,name=target_km_walked" json:"target_km_walked,omitempty"` 205 | } 206 | 207 | func (m *EggIncubator) Reset() { *m = EggIncubator{} } 208 | func (m *EggIncubator) String() string { return proto.CompactTextString(m) } 209 | func (*EggIncubator) ProtoMessage() {} 210 | 211 | type InventoryDelta struct { 212 | OriginalTimestampMs int64 `protobuf:"varint,1,opt,name=original_timestamp_ms" json:"original_timestamp_ms,omitempty"` 213 | NewTimestampMs int64 `protobuf:"varint,2,opt,name=new_timestamp_ms" json:"new_timestamp_ms,omitempty"` 214 | InventoryItems []*InventoryItem `protobuf:"bytes,3,rep,name=inventory_items" json:"inventory_items,omitempty"` 215 | } 216 | 217 | func (m *InventoryDelta) Reset() { *m = InventoryDelta{} } 218 | func (m *InventoryDelta) String() string { return proto.CompactTextString(m) } 219 | func (*InventoryDelta) ProtoMessage() {} 220 | 221 | func (m *InventoryDelta) GetInventoryItems() []*InventoryItem { 222 | if m != nil { 223 | return m.InventoryItems 224 | } 225 | return nil 226 | } 227 | 228 | type InventoryUpgrades struct { 229 | InventoryUpgrades []*InventoryUpgrade `protobuf:"bytes,1,rep,name=inventory_upgrades" json:"inventory_upgrades,omitempty"` 230 | } 231 | 232 | func (m *InventoryUpgrades) Reset() { *m = InventoryUpgrades{} } 233 | func (m *InventoryUpgrades) String() string { return proto.CompactTextString(m) } 234 | func (*InventoryUpgrades) ProtoMessage() {} 235 | 236 | func (m *InventoryUpgrades) GetInventoryUpgrades() []*InventoryUpgrade { 237 | if m != nil { 238 | return m.InventoryUpgrades 239 | } 240 | return nil 241 | } 242 | 243 | type AppliedItems struct { 244 | Item []*AppliedItem `protobuf:"bytes,4,rep,name=item" json:"item,omitempty"` 245 | } 246 | 247 | func (m *AppliedItems) Reset() { *m = AppliedItems{} } 248 | func (m *AppliedItems) String() string { return proto.CompactTextString(m) } 249 | func (*AppliedItems) ProtoMessage() {} 250 | 251 | func (m *AppliedItems) GetItem() []*AppliedItem { 252 | if m != nil { 253 | return m.Item 254 | } 255 | return nil 256 | } 257 | 258 | type InventoryItemData struct { 259 | PokemonData *PokemonData `protobuf:"bytes,1,opt,name=pokemon_data" json:"pokemon_data,omitempty"` 260 | Item *ItemData `protobuf:"bytes,2,opt,name=item" json:"item,omitempty"` 261 | PokedexEntry *PokedexEntry `protobuf:"bytes,3,opt,name=pokedex_entry" json:"pokedex_entry,omitempty"` 262 | PlayerStats *PlayerStats `protobuf:"bytes,4,opt,name=player_stats" json:"player_stats,omitempty"` 263 | PlayerCurrency *PlayerCurrency `protobuf:"bytes,5,opt,name=player_currency" json:"player_currency,omitempty"` 264 | PlayerCamera *PlayerCamera `protobuf:"bytes,6,opt,name=player_camera" json:"player_camera,omitempty"` 265 | InventoryUpgrades *InventoryUpgrades `protobuf:"bytes,7,opt,name=inventory_upgrades" json:"inventory_upgrades,omitempty"` 266 | AppliedItems *AppliedItems `protobuf:"bytes,8,opt,name=applied_items" json:"applied_items,omitempty"` 267 | EggIncubators *EggIncubators `protobuf:"bytes,9,opt,name=egg_incubators" json:"egg_incubators,omitempty"` 268 | Candy *Candy `protobuf:"bytes,10,opt,name=candy" json:"candy,omitempty"` 269 | } 270 | 271 | func (m *InventoryItemData) Reset() { *m = InventoryItemData{} } 272 | func (m *InventoryItemData) String() string { return proto.CompactTextString(m) } 273 | func (*InventoryItemData) ProtoMessage() {} 274 | 275 | func (m *InventoryItemData) GetPokemonData() *PokemonData { 276 | if m != nil { 277 | return m.PokemonData 278 | } 279 | return nil 280 | } 281 | 282 | func (m *InventoryItemData) GetItem() *ItemData { 283 | if m != nil { 284 | return m.Item 285 | } 286 | return nil 287 | } 288 | 289 | func (m *InventoryItemData) GetPokedexEntry() *PokedexEntry { 290 | if m != nil { 291 | return m.PokedexEntry 292 | } 293 | return nil 294 | } 295 | 296 | func (m *InventoryItemData) GetPlayerStats() *PlayerStats { 297 | if m != nil { 298 | return m.PlayerStats 299 | } 300 | return nil 301 | } 302 | 303 | func (m *InventoryItemData) GetPlayerCurrency() *PlayerCurrency { 304 | if m != nil { 305 | return m.PlayerCurrency 306 | } 307 | return nil 308 | } 309 | 310 | func (m *InventoryItemData) GetPlayerCamera() *PlayerCamera { 311 | if m != nil { 312 | return m.PlayerCamera 313 | } 314 | return nil 315 | } 316 | 317 | func (m *InventoryItemData) GetInventoryUpgrades() *InventoryUpgrades { 318 | if m != nil { 319 | return m.InventoryUpgrades 320 | } 321 | return nil 322 | } 323 | 324 | func (m *InventoryItemData) GetAppliedItems() *AppliedItems { 325 | if m != nil { 326 | return m.AppliedItems 327 | } 328 | return nil 329 | } 330 | 331 | func (m *InventoryItemData) GetEggIncubators() *EggIncubators { 332 | if m != nil { 333 | return m.EggIncubators 334 | } 335 | return nil 336 | } 337 | 338 | func (m *InventoryItemData) GetCandy() *Candy { 339 | if m != nil { 340 | return m.Candy 341 | } 342 | return nil 343 | } 344 | 345 | type Candy struct { 346 | FamilyId PokemonFamilyId `protobuf:"varint,1,opt,name=family_id,enum=POGOProtos.Enums.PokemonFamilyId" json:"family_id,omitempty"` 347 | Candy int32 `protobuf:"varint,2,opt,name=candy" json:"candy,omitempty"` 348 | } 349 | 350 | func (m *Candy) Reset() { *m = Candy{} } 351 | func (m *Candy) String() string { return proto.CompactTextString(m) } 352 | func (*Candy) ProtoMessage() {} 353 | 354 | func init() { 355 | proto.RegisterEnum("POGOProtos.Inventory.EggIncubatorType", EggIncubatorType_name, EggIncubatorType_value) 356 | proto.RegisterEnum("POGOProtos.Inventory.InventoryUpgradeType", InventoryUpgradeType_name, InventoryUpgradeType_value) 357 | } 358 | -------------------------------------------------------------------------------- /networking_envelopes.pb.go: -------------------------------------------------------------------------------- 1 | // Code generated by protoc-gen-go. 2 | // source: networking_envelopes.proto 3 | // DO NOT EDIT! 4 | 5 | package protos 6 | 7 | import proto "github.com/golang/protobuf/proto" 8 | 9 | // Reference imports to suppress errors if they are not otherwise used. 10 | var _ = proto.Marshal 11 | 12 | // Ignoring public import of PlatformRequestType from networking_platform.proto 13 | 14 | // Ignoring public import of Request from networking_requests.proto 15 | 16 | // Ignoring public import of RequestType from networking_requests.proto 17 | 18 | type ResponseEnvelope_StatusCode int32 19 | 20 | const ( 21 | ResponseEnvelope_UNKNOWN ResponseEnvelope_StatusCode = 0 22 | ResponseEnvelope_OK ResponseEnvelope_StatusCode = 1 23 | ResponseEnvelope_OK_RPC_URL_IN_RESPONSE ResponseEnvelope_StatusCode = 2 24 | ResponseEnvelope_BAD_REQUEST ResponseEnvelope_StatusCode = 3 25 | ResponseEnvelope_INVALID_REQUEST ResponseEnvelope_StatusCode = 51 26 | ResponseEnvelope_INVALID_PLATFORM_REQUEST ResponseEnvelope_StatusCode = 52 27 | ResponseEnvelope_REDIRECT ResponseEnvelope_StatusCode = 53 28 | ResponseEnvelope_SESSION_INVALIDATED ResponseEnvelope_StatusCode = 100 29 | ResponseEnvelope_INVALID_AUTH_TOKEN ResponseEnvelope_StatusCode = 102 30 | ) 31 | 32 | var ResponseEnvelope_StatusCode_name = map[int32]string{ 33 | 0: "UNKNOWN", 34 | 1: "OK", 35 | 2: "OK_RPC_URL_IN_RESPONSE", 36 | 3: "BAD_REQUEST", 37 | 51: "INVALID_REQUEST", 38 | 52: "INVALID_PLATFORM_REQUEST", 39 | 53: "REDIRECT", 40 | 100: "SESSION_INVALIDATED", 41 | 102: "INVALID_AUTH_TOKEN", 42 | } 43 | var ResponseEnvelope_StatusCode_value = map[string]int32{ 44 | "UNKNOWN": 0, 45 | "OK": 1, 46 | "OK_RPC_URL_IN_RESPONSE": 2, 47 | "BAD_REQUEST": 3, 48 | "INVALID_REQUEST": 51, 49 | "INVALID_PLATFORM_REQUEST": 52, 50 | "REDIRECT": 53, 51 | "SESSION_INVALIDATED": 100, 52 | "INVALID_AUTH_TOKEN": 102, 53 | } 54 | 55 | func (x ResponseEnvelope_StatusCode) String() string { 56 | return proto.EnumName(ResponseEnvelope_StatusCode_name, int32(x)) 57 | } 58 | 59 | type AuthTicket struct { 60 | Start []byte `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"` 61 | ExpireTimestampMs uint64 `protobuf:"varint,2,opt,name=expire_timestamp_ms" json:"expire_timestamp_ms,omitempty"` 62 | End []byte `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"` 63 | } 64 | 65 | func (m *AuthTicket) Reset() { *m = AuthTicket{} } 66 | func (m *AuthTicket) String() string { return proto.CompactTextString(m) } 67 | func (*AuthTicket) ProtoMessage() {} 68 | 69 | type ResponseEnvelope struct { 70 | StatusCode ResponseEnvelope_StatusCode `protobuf:"varint,1,opt,name=status_code,enum=POGOProtos.Networking.Envelopes.ResponseEnvelope_StatusCode" json:"status_code,omitempty"` 71 | RequestId uint64 `protobuf:"varint,2,opt,name=request_id" json:"request_id,omitempty"` 72 | ApiUrl string `protobuf:"bytes,3,opt,name=api_url" json:"api_url,omitempty"` 73 | PlatformReturns []*ResponseEnvelope_PlatformResponse `protobuf:"bytes,6,rep,name=platform_returns" json:"platform_returns,omitempty"` 74 | AuthTicket *AuthTicket `protobuf:"bytes,7,opt,name=auth_ticket" json:"auth_ticket,omitempty"` 75 | Returns [][]byte `protobuf:"bytes,100,rep,name=returns,proto3" json:"returns,omitempty"` 76 | Error string `protobuf:"bytes,101,opt,name=error" json:"error,omitempty"` 77 | } 78 | 79 | func (m *ResponseEnvelope) Reset() { *m = ResponseEnvelope{} } 80 | func (m *ResponseEnvelope) String() string { return proto.CompactTextString(m) } 81 | func (*ResponseEnvelope) ProtoMessage() {} 82 | 83 | func (m *ResponseEnvelope) GetPlatformReturns() []*ResponseEnvelope_PlatformResponse { 84 | if m != nil { 85 | return m.PlatformReturns 86 | } 87 | return nil 88 | } 89 | 90 | func (m *ResponseEnvelope) GetAuthTicket() *AuthTicket { 91 | if m != nil { 92 | return m.AuthTicket 93 | } 94 | return nil 95 | } 96 | 97 | type ResponseEnvelope_PlatformResponse struct { 98 | Type PlatformRequestType `protobuf:"varint,1,opt,name=type,enum=POGOProtos.Networking.Platform.PlatformRequestType" json:"type,omitempty"` 99 | Response []byte `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"` 100 | } 101 | 102 | func (m *ResponseEnvelope_PlatformResponse) Reset() { *m = ResponseEnvelope_PlatformResponse{} } 103 | func (m *ResponseEnvelope_PlatformResponse) String() string { return proto.CompactTextString(m) } 104 | func (*ResponseEnvelope_PlatformResponse) ProtoMessage() {} 105 | 106 | type RequestEnvelope struct { 107 | StatusCode int32 `protobuf:"varint,1,opt,name=status_code" json:"status_code,omitempty"` 108 | RequestId uint64 `protobuf:"varint,3,opt,name=request_id" json:"request_id,omitempty"` 109 | Requests []*Request `protobuf:"bytes,4,rep,name=requests" json:"requests,omitempty"` 110 | PlatformRequests []*RequestEnvelope_PlatformRequest `protobuf:"bytes,6,rep,name=platform_requests" json:"platform_requests,omitempty"` 111 | Latitude float64 `protobuf:"fixed64,7,opt,name=latitude" json:"latitude,omitempty"` 112 | Longitude float64 `protobuf:"fixed64,8,opt,name=longitude" json:"longitude,omitempty"` 113 | Accuracy float64 `protobuf:"fixed64,9,opt,name=accuracy" json:"accuracy,omitempty"` 114 | AuthInfo *RequestEnvelope_AuthInfo `protobuf:"bytes,10,opt,name=auth_info" json:"auth_info,omitempty"` 115 | AuthTicket *AuthTicket `protobuf:"bytes,11,opt,name=auth_ticket" json:"auth_ticket,omitempty"` 116 | MsSinceLastLocationfix int64 `protobuf:"varint,12,opt,name=ms_since_last_locationfix" json:"ms_since_last_locationfix,omitempty"` 117 | } 118 | 119 | func (m *RequestEnvelope) Reset() { *m = RequestEnvelope{} } 120 | func (m *RequestEnvelope) String() string { return proto.CompactTextString(m) } 121 | func (*RequestEnvelope) ProtoMessage() {} 122 | 123 | func (m *RequestEnvelope) GetRequests() []*Request { 124 | if m != nil { 125 | return m.Requests 126 | } 127 | return nil 128 | } 129 | 130 | func (m *RequestEnvelope) GetPlatformRequests() []*RequestEnvelope_PlatformRequest { 131 | if m != nil { 132 | return m.PlatformRequests 133 | } 134 | return nil 135 | } 136 | 137 | func (m *RequestEnvelope) GetAuthInfo() *RequestEnvelope_AuthInfo { 138 | if m != nil { 139 | return m.AuthInfo 140 | } 141 | return nil 142 | } 143 | 144 | func (m *RequestEnvelope) GetAuthTicket() *AuthTicket { 145 | if m != nil { 146 | return m.AuthTicket 147 | } 148 | return nil 149 | } 150 | 151 | type RequestEnvelope_AuthInfo struct { 152 | Provider string `protobuf:"bytes,1,opt,name=provider" json:"provider,omitempty"` 153 | Token *RequestEnvelope_AuthInfo_JWT `protobuf:"bytes,2,opt,name=token" json:"token,omitempty"` 154 | } 155 | 156 | func (m *RequestEnvelope_AuthInfo) Reset() { *m = RequestEnvelope_AuthInfo{} } 157 | func (m *RequestEnvelope_AuthInfo) String() string { return proto.CompactTextString(m) } 158 | func (*RequestEnvelope_AuthInfo) ProtoMessage() {} 159 | 160 | func (m *RequestEnvelope_AuthInfo) GetToken() *RequestEnvelope_AuthInfo_JWT { 161 | if m != nil { 162 | return m.Token 163 | } 164 | return nil 165 | } 166 | 167 | type RequestEnvelope_AuthInfo_JWT struct { 168 | Contents string `protobuf:"bytes,1,opt,name=contents" json:"contents,omitempty"` 169 | Unknown2 int32 `protobuf:"varint,2,opt,name=unknown2" json:"unknown2,omitempty"` 170 | } 171 | 172 | func (m *RequestEnvelope_AuthInfo_JWT) Reset() { *m = RequestEnvelope_AuthInfo_JWT{} } 173 | func (m *RequestEnvelope_AuthInfo_JWT) String() string { return proto.CompactTextString(m) } 174 | func (*RequestEnvelope_AuthInfo_JWT) ProtoMessage() {} 175 | 176 | type RequestEnvelope_PlatformRequest struct { 177 | Type PlatformRequestType `protobuf:"varint,1,opt,name=type,enum=POGOProtos.Networking.Platform.PlatformRequestType" json:"type,omitempty"` 178 | RequestMessage []byte `protobuf:"bytes,2,opt,name=request_message,proto3" json:"request_message,omitempty"` 179 | } 180 | 181 | func (m *RequestEnvelope_PlatformRequest) Reset() { *m = RequestEnvelope_PlatformRequest{} } 182 | func (m *RequestEnvelope_PlatformRequest) String() string { return proto.CompactTextString(m) } 183 | func (*RequestEnvelope_PlatformRequest) ProtoMessage() {} 184 | 185 | type Signature struct { 186 | Field1 []*UnknownMessage `protobuf:"bytes,1,rep,name=field1" json:"field1,omitempty"` 187 | TimestampSinceStart uint64 `protobuf:"varint,2,opt,name=timestamp_since_start" json:"timestamp_since_start,omitempty"` 188 | Field3 string `protobuf:"bytes,3,opt,name=field3" json:"field3,omitempty"` 189 | LocationFix []*Signature_LocationFix `protobuf:"bytes,4,rep,name=location_fix" json:"location_fix,omitempty"` 190 | GpsInfo []*Signature_AndroidGpsInfo `protobuf:"bytes,5,rep,name=gps_info" json:"gps_info,omitempty"` 191 | Field6 []*UnknownMessage `protobuf:"bytes,6,rep,name=field6" json:"field6,omitempty"` 192 | SensorInfo []*Signature_SensorInfo `protobuf:"bytes,7,rep,name=sensor_info" json:"sensor_info,omitempty"` 193 | DeviceInfo *Signature_DeviceInfo `protobuf:"bytes,8,opt,name=device_info" json:"device_info,omitempty"` 194 | ActivityStatus *Signature_ActivityStatus `protobuf:"bytes,9,opt,name=activity_status" json:"activity_status,omitempty"` 195 | LocationHash1 int32 `protobuf:"varint,10,opt,name=location_hash1" json:"location_hash1,omitempty"` 196 | Field11 bool `protobuf:"varint,11,opt,name=field11" json:"field11,omitempty"` 197 | Field12 bool `protobuf:"varint,12,opt,name=field12" json:"field12,omitempty"` 198 | Field13 int32 `protobuf:"varint,13,opt,name=field13" json:"field13,omitempty"` 199 | Field14 int32 `protobuf:"varint,14,opt,name=field14" json:"field14,omitempty"` 200 | Field15 string `protobuf:"bytes,15,opt,name=field15" json:"field15,omitempty"` 201 | Field16 int32 `protobuf:"varint,16,opt,name=field16" json:"field16,omitempty"` 202 | Field17 string `protobuf:"bytes,17,opt,name=field17" json:"field17,omitempty"` 203 | Field18 string `protobuf:"bytes,18,opt,name=field18" json:"field18,omitempty"` 204 | Field19 bool `protobuf:"varint,19,opt,name=field19" json:"field19,omitempty"` 205 | LocationHash2 int32 `protobuf:"varint,20,opt,name=location_hash2" json:"location_hash2,omitempty"` 206 | Field21 bool `protobuf:"varint,21,opt,name=field21" json:"field21,omitempty"` 207 | SessionHash []byte `protobuf:"bytes,22,opt,name=session_hash,proto3" json:"session_hash,omitempty"` 208 | Timestamp uint64 `protobuf:"varint,23,opt,name=timestamp" json:"timestamp,omitempty"` 209 | RequestHash []uint64 `protobuf:"varint,24,rep,name=request_hash" json:"request_hash,omitempty"` 210 | Unknown25 int64 `protobuf:"varint,25,opt,name=unknown25" json:"unknown25,omitempty"` 211 | } 212 | 213 | func (m *Signature) Reset() { *m = Signature{} } 214 | func (m *Signature) String() string { return proto.CompactTextString(m) } 215 | func (*Signature) ProtoMessage() {} 216 | 217 | func (m *Signature) GetField1() []*UnknownMessage { 218 | if m != nil { 219 | return m.Field1 220 | } 221 | return nil 222 | } 223 | 224 | func (m *Signature) GetLocationFix() []*Signature_LocationFix { 225 | if m != nil { 226 | return m.LocationFix 227 | } 228 | return nil 229 | } 230 | 231 | func (m *Signature) GetGpsInfo() []*Signature_AndroidGpsInfo { 232 | if m != nil { 233 | return m.GpsInfo 234 | } 235 | return nil 236 | } 237 | 238 | func (m *Signature) GetField6() []*UnknownMessage { 239 | if m != nil { 240 | return m.Field6 241 | } 242 | return nil 243 | } 244 | 245 | func (m *Signature) GetSensorInfo() []*Signature_SensorInfo { 246 | if m != nil { 247 | return m.SensorInfo 248 | } 249 | return nil 250 | } 251 | 252 | func (m *Signature) GetDeviceInfo() *Signature_DeviceInfo { 253 | if m != nil { 254 | return m.DeviceInfo 255 | } 256 | return nil 257 | } 258 | 259 | func (m *Signature) GetActivityStatus() *Signature_ActivityStatus { 260 | if m != nil { 261 | return m.ActivityStatus 262 | } 263 | return nil 264 | } 265 | 266 | type Signature_LocationFix struct { 267 | Provider string `protobuf:"bytes,1,opt,name=provider" json:"provider,omitempty"` 268 | TimestampSnapshot uint64 `protobuf:"varint,2,opt,name=timestamp_snapshot" json:"timestamp_snapshot,omitempty"` 269 | Altitude float32 `protobuf:"fixed32,4,opt,name=altitude" json:"altitude,omitempty"` 270 | Latitude float32 `protobuf:"fixed32,13,opt,name=latitude" json:"latitude,omitempty"` 271 | Longitude float32 `protobuf:"fixed32,14,opt,name=longitude" json:"longitude,omitempty"` 272 | Speed float32 `protobuf:"fixed32,18,opt,name=speed" json:"speed,omitempty"` 273 | Course float32 `protobuf:"fixed32,20,opt,name=course" json:"course,omitempty"` 274 | HorizontalAccuracy float32 `protobuf:"fixed32,21,opt,name=horizontal_accuracy" json:"horizontal_accuracy,omitempty"` 275 | VerticalAccuracy float32 `protobuf:"fixed32,22,opt,name=vertical_accuracy" json:"vertical_accuracy,omitempty"` 276 | ProviderStatus uint64 `protobuf:"varint,26,opt,name=provider_status" json:"provider_status,omitempty"` 277 | // On iOS there are some LocationFixes with unk26=1 and everything else empty 278 | Floor uint32 `protobuf:"varint,27,opt,name=floor" json:"floor,omitempty"` 279 | LocationType uint64 `protobuf:"varint,28,opt,name=location_type" json:"location_type,omitempty"` 280 | } 281 | 282 | func (m *Signature_LocationFix) Reset() { *m = Signature_LocationFix{} } 283 | func (m *Signature_LocationFix) String() string { return proto.CompactTextString(m) } 284 | func (*Signature_LocationFix) ProtoMessage() {} 285 | 286 | // don't really care about this since we're not using it 287 | type Signature_AndroidGpsInfo struct { 288 | TimeToFix uint64 `protobuf:"varint,1,opt,name=time_to_fix" json:"time_to_fix,omitempty"` 289 | SatellitesPrn []int32 `protobuf:"varint,2,rep,name=satellites_prn" json:"satellites_prn,omitempty"` 290 | Azimuth []float32 `protobuf:"fixed32,3,rep,name=azimuth" json:"azimuth,omitempty"` 291 | Elevation []float32 `protobuf:"fixed32,4,rep,name=elevation" json:"elevation,omitempty"` 292 | Snr []float32 `protobuf:"fixed32,5,rep,name=snr" json:"snr,omitempty"` 293 | HasAlmanac []bool `protobuf:"varint,6,rep,name=has_almanac" json:"has_almanac,omitempty"` 294 | HasEphemeris []bool `protobuf:"varint,7,rep,name=has_ephemeris" json:"has_ephemeris,omitempty"` 295 | UsedInFix []bool `protobuf:"varint,8,rep,name=used_in_fix" json:"used_in_fix,omitempty"` 296 | } 297 | 298 | func (m *Signature_AndroidGpsInfo) Reset() { *m = Signature_AndroidGpsInfo{} } 299 | func (m *Signature_AndroidGpsInfo) String() string { return proto.CompactTextString(m) } 300 | func (*Signature_AndroidGpsInfo) ProtoMessage() {} 301 | 302 | type Signature_SensorInfo struct { 303 | TimestampSnapshot uint64 `protobuf:"varint,1,opt,name=timestamp_snapshot" json:"timestamp_snapshot,omitempty"` 304 | LinearAccelerationX float64 `protobuf:"fixed64,3,opt,name=linear_acceleration_x" json:"linear_acceleration_x,omitempty"` 305 | LinearAccelerationY float64 `protobuf:"fixed64,4,opt,name=linear_acceleration_y" json:"linear_acceleration_y,omitempty"` 306 | LinearAccelerationZ float64 `protobuf:"fixed64,5,opt,name=linear_acceleration_z" json:"linear_acceleration_z,omitempty"` 307 | MagneticFieldX float64 `protobuf:"fixed64,6,opt,name=magnetic_field_x" json:"magnetic_field_x,omitempty"` 308 | MagneticFieldY float64 `protobuf:"fixed64,7,opt,name=magnetic_field_y" json:"magnetic_field_y,omitempty"` 309 | MagneticFieldZ float64 `protobuf:"fixed64,8,opt,name=magnetic_field_z" json:"magnetic_field_z,omitempty"` 310 | MagneticFieldAccuracy int32 `protobuf:"varint,9,opt,name=magnetic_field_accuracy" json:"magnetic_field_accuracy,omitempty"` 311 | AttitudePitch float64 `protobuf:"fixed64,10,opt,name=attitude_pitch" json:"attitude_pitch,omitempty"` 312 | AttitudeYaw float64 `protobuf:"fixed64,11,opt,name=attitude_yaw" json:"attitude_yaw,omitempty"` 313 | AttitudeRoll float64 `protobuf:"fixed64,12,opt,name=attitude_roll" json:"attitude_roll,omitempty"` 314 | RotationRateX float64 `protobuf:"fixed64,13,opt,name=rotation_rate_x" json:"rotation_rate_x,omitempty"` 315 | RotationRateY float64 `protobuf:"fixed64,14,opt,name=rotation_rate_y" json:"rotation_rate_y,omitempty"` 316 | RotationRateZ float64 `protobuf:"fixed64,15,opt,name=rotation_rate_z" json:"rotation_rate_z,omitempty"` 317 | GravityX float64 `protobuf:"fixed64,16,opt,name=gravity_x" json:"gravity_x,omitempty"` 318 | GravityY float64 `protobuf:"fixed64,17,opt,name=gravity_y" json:"gravity_y,omitempty"` 319 | GravityZ float64 `protobuf:"fixed64,18,opt,name=gravity_z" json:"gravity_z,omitempty"` 320 | Status int32 `protobuf:"varint,19,opt,name=status" json:"status,omitempty"` 321 | } 322 | 323 | func (m *Signature_SensorInfo) Reset() { *m = Signature_SensorInfo{} } 324 | func (m *Signature_SensorInfo) String() string { return proto.CompactTextString(m) } 325 | func (*Signature_SensorInfo) ProtoMessage() {} 326 | 327 | type Signature_DeviceInfo struct { 328 | DeviceId string `protobuf:"bytes,1,opt,name=device_id" json:"device_id,omitempty"` 329 | AndroidBoardName string `protobuf:"bytes,2,opt,name=android_board_name" json:"android_board_name,omitempty"` 330 | AndroidBootloader string `protobuf:"bytes,3,opt,name=android_bootloader" json:"android_bootloader,omitempty"` 331 | DeviceBrand string `protobuf:"bytes,4,opt,name=device_brand" json:"device_brand,omitempty"` 332 | DeviceModel string `protobuf:"bytes,5,opt,name=device_model" json:"device_model,omitempty"` 333 | DeviceModelIdentifier string `protobuf:"bytes,6,opt,name=device_model_identifier" json:"device_model_identifier,omitempty"` 334 | DeviceModelBoot string `protobuf:"bytes,7,opt,name=device_model_boot" json:"device_model_boot,omitempty"` 335 | HardwareManufacturer string `protobuf:"bytes,8,opt,name=hardware_manufacturer" json:"hardware_manufacturer,omitempty"` 336 | HardwareModel string `protobuf:"bytes,9,opt,name=hardware_model" json:"hardware_model,omitempty"` 337 | FirmwareBrand string `protobuf:"bytes,10,opt,name=firmware_brand" json:"firmware_brand,omitempty"` 338 | FirmwareTags string `protobuf:"bytes,12,opt,name=firmware_tags" json:"firmware_tags,omitempty"` 339 | FirmwareType string `protobuf:"bytes,13,opt,name=firmware_type" json:"firmware_type,omitempty"` 340 | FirmwareFingerprint string `protobuf:"bytes,14,opt,name=firmware_fingerprint" json:"firmware_fingerprint,omitempty"` 341 | } 342 | 343 | func (m *Signature_DeviceInfo) Reset() { *m = Signature_DeviceInfo{} } 344 | func (m *Signature_DeviceInfo) String() string { return proto.CompactTextString(m) } 345 | func (*Signature_DeviceInfo) ProtoMessage() {} 346 | 347 | // Only used in iOS - Android just sends an empty version 348 | type Signature_ActivityStatus struct { 349 | // all of these had 1 as their value 350 | StartTimeMs uint64 `protobuf:"varint,1,opt,name=start_time_ms" json:"start_time_ms,omitempty"` 351 | UnknownStatus bool `protobuf:"varint,2,opt,name=unknown_status" json:"unknown_status,omitempty"` 352 | Walking bool `protobuf:"varint,3,opt,name=walking" json:"walking,omitempty"` 353 | Running bool `protobuf:"varint,4,opt,name=running" json:"running,omitempty"` 354 | Stationary bool `protobuf:"varint,5,opt,name=stationary" json:"stationary,omitempty"` 355 | Automotive bool `protobuf:"varint,6,opt,name=automotive" json:"automotive,omitempty"` 356 | Tilting bool `protobuf:"varint,7,opt,name=tilting" json:"tilting,omitempty"` 357 | Cycling bool `protobuf:"varint,8,opt,name=cycling" json:"cycling,omitempty"` 358 | Status []byte `protobuf:"bytes,9,opt,name=status,proto3" json:"status,omitempty"` 359 | } 360 | 361 | func (m *Signature_ActivityStatus) Reset() { *m = Signature_ActivityStatus{} } 362 | func (m *Signature_ActivityStatus) String() string { return proto.CompactTextString(m) } 363 | func (*Signature_ActivityStatus) ProtoMessage() {} 364 | 365 | // Just a junk message to denote that we don't currently know what message something is. 366 | type UnknownMessage struct { 367 | } 368 | 369 | func (m *UnknownMessage) Reset() { *m = UnknownMessage{} } 370 | func (m *UnknownMessage) String() string { return proto.CompactTextString(m) } 371 | func (*UnknownMessage) ProtoMessage() {} 372 | 373 | func init() { 374 | proto.RegisterEnum("POGOProtos.Networking.Envelopes.ResponseEnvelope_StatusCode", ResponseEnvelope_StatusCode_name, ResponseEnvelope_StatusCode_value) 375 | } 376 | -------------------------------------------------------------------------------- /settings_master.pb.go: -------------------------------------------------------------------------------- 1 | // Code generated by protoc-gen-go. 2 | // source: settings_master.proto 3 | // DO NOT EDIT! 4 | 5 | package protos 6 | 7 | import proto "github.com/golang/protobuf/proto" 8 | 9 | // Reference imports to suppress errors if they are not otherwise used. 10 | var _ = proto.Marshal 11 | 12 | // Ignoring public import of BadgeType from enums.proto 13 | 14 | // Ignoring public import of TutorialState from enums.proto 15 | 16 | // Ignoring public import of PokemonId from enums.proto 17 | 18 | // Ignoring public import of PokemonMovementType from enums.proto 19 | 20 | // Ignoring public import of Gender from enums.proto 21 | 22 | // Ignoring public import of ActivityType from enums.proto 23 | 24 | // Ignoring public import of CameraTarget from enums.proto 25 | 26 | // Ignoring public import of PokemonFamilyId from enums.proto 27 | 28 | // Ignoring public import of ItemCategory from enums.proto 29 | 30 | // Ignoring public import of CameraInterpolation from enums.proto 31 | 32 | // Ignoring public import of Platform from enums.proto 33 | 34 | // Ignoring public import of TeamColor from enums.proto 35 | 36 | // Ignoring public import of PokemonMove from enums.proto 37 | 38 | // Ignoring public import of ItemEffect from enums.proto 39 | 40 | // Ignoring public import of PokemonType from enums.proto 41 | 42 | // Ignoring public import of HoloIapItemCategory from enums.proto 43 | 44 | // Ignoring public import of PokemonRarity from enums.proto 45 | 46 | // Ignoring public import of CameraAttributes from settings_master_pokemon.proto 47 | 48 | // Ignoring public import of EncounterAttributes from settings_master_pokemon.proto 49 | 50 | // Ignoring public import of StatsAttributes from settings_master_pokemon.proto 51 | 52 | // Ignoring public import of ItemData from inventory_item.proto 53 | 54 | // Ignoring public import of ItemAward from inventory_item.proto 55 | 56 | // Ignoring public import of ItemId from inventory_item.proto 57 | 58 | // Ignoring public import of ItemType from inventory_item.proto 59 | 60 | // Ignoring public import of FortModifierAttributes from settings_master_item.proto 61 | 62 | // Ignoring public import of ReviveAttributes from settings_master_item.proto 63 | 64 | // Ignoring public import of PokeballAttributes from settings_master_item.proto 65 | 66 | // Ignoring public import of PotionAttributes from settings_master_item.proto 67 | 68 | // Ignoring public import of IncenseAttributes from settings_master_item.proto 69 | 70 | // Ignoring public import of InventoryUpgradeAttributes from settings_master_item.proto 71 | 72 | // Ignoring public import of ExperienceBoostAttributes from settings_master_item.proto 73 | 74 | // Ignoring public import of FoodAttributes from settings_master_item.proto 75 | 76 | // Ignoring public import of BattleAttributes from settings_master_item.proto 77 | 78 | // Ignoring public import of EggIncubatorAttributes from settings_master_item.proto 79 | 80 | type PokemonSettings_BuddySize int32 81 | 82 | const ( 83 | PokemonSettings_BUDDY_MEDIUM PokemonSettings_BuddySize = 0 84 | PokemonSettings_BUDDY_SHOULDER PokemonSettings_BuddySize = 1 85 | PokemonSettings_BUDDY_BIG PokemonSettings_BuddySize = 2 86 | PokemonSettings_BUDDY_FLYING PokemonSettings_BuddySize = 3 87 | ) 88 | 89 | var PokemonSettings_BuddySize_name = map[int32]string{ 90 | 0: "BUDDY_MEDIUM", 91 | 1: "BUDDY_SHOULDER", 92 | 2: "BUDDY_BIG", 93 | 3: "BUDDY_FLYING", 94 | } 95 | var PokemonSettings_BuddySize_value = map[string]int32{ 96 | "BUDDY_MEDIUM": 0, 97 | "BUDDY_SHOULDER": 1, 98 | "BUDDY_BIG": 2, 99 | "BUDDY_FLYING": 3, 100 | } 101 | 102 | func (x PokemonSettings_BuddySize) String() string { 103 | return proto.EnumName(PokemonSettings_BuddySize_name, int32(x)) 104 | } 105 | 106 | type IapSettings struct { 107 | DailyBonusCoins int32 `protobuf:"varint,1,opt,name=daily_bonus_coins" json:"daily_bonus_coins,omitempty"` 108 | DailyDefenderBonusPerPokemon []int32 `protobuf:"varint,2,rep,name=daily_defender_bonus_per_pokemon" json:"daily_defender_bonus_per_pokemon,omitempty"` 109 | DailyDefenderBonusMaxDefenders int32 `protobuf:"varint,3,opt,name=daily_defender_bonus_max_defenders" json:"daily_defender_bonus_max_defenders,omitempty"` 110 | DailyDefenderBonusCurrency []string `protobuf:"bytes,4,rep,name=daily_defender_bonus_currency" json:"daily_defender_bonus_currency,omitempty"` 111 | MinTimeBetweenClaimsMs int64 `protobuf:"varint,5,opt,name=min_time_between_claims_ms" json:"min_time_between_claims_ms,omitempty"` 112 | DailyBonusEnabled bool `protobuf:"varint,6,opt,name=daily_bonus_enabled" json:"daily_bonus_enabled,omitempty"` 113 | DailyDefenderBonusEnabled bool `protobuf:"varint,7,opt,name=daily_defender_bonus_enabled" json:"daily_defender_bonus_enabled,omitempty"` 114 | } 115 | 116 | func (m *IapSettings) Reset() { *m = IapSettings{} } 117 | func (m *IapSettings) String() string { return proto.CompactTextString(m) } 118 | func (*IapSettings) ProtoMessage() {} 119 | 120 | type TypeEffectiveSettings struct { 121 | AttackScalar []float32 `protobuf:"fixed32,1,rep,name=attack_scalar" json:"attack_scalar,omitempty"` 122 | AttackType PokemonType `protobuf:"varint,2,opt,name=attack_type,enum=POGOProtos.Enums.PokemonType" json:"attack_type,omitempty"` 123 | } 124 | 125 | func (m *TypeEffectiveSettings) Reset() { *m = TypeEffectiveSettings{} } 126 | func (m *TypeEffectiveSettings) String() string { return proto.CompactTextString(m) } 127 | func (*TypeEffectiveSettings) ProtoMessage() {} 128 | 129 | type CameraSettings struct { 130 | NextCamera string `protobuf:"bytes,1,opt,name=next_camera" json:"next_camera,omitempty"` 131 | Interpolation []CameraInterpolation `protobuf:"varint,2,rep,name=interpolation,enum=POGOProtos.Enums.CameraInterpolation" json:"interpolation,omitempty"` 132 | TargetType []CameraTarget `protobuf:"varint,3,rep,name=target_type,enum=POGOProtos.Enums.CameraTarget" json:"target_type,omitempty"` 133 | EaseInSpeed []float32 `protobuf:"fixed32,4,rep,name=ease_in_speed" json:"ease_in_speed,omitempty"` 134 | EastOutSpeed []float32 `protobuf:"fixed32,5,rep,name=east_out_speed" json:"east_out_speed,omitempty"` 135 | DurationSeconds []float32 `protobuf:"fixed32,6,rep,name=duration_seconds" json:"duration_seconds,omitempty"` 136 | WaitSeconds []float32 `protobuf:"fixed32,7,rep,name=wait_seconds" json:"wait_seconds,omitempty"` 137 | TransitionSeconds []float32 `protobuf:"fixed32,8,rep,name=transition_seconds" json:"transition_seconds,omitempty"` 138 | AngleDegree []float32 `protobuf:"fixed32,9,rep,name=angle_degree" json:"angle_degree,omitempty"` 139 | AngleOffsetDegree []float32 `protobuf:"fixed32,10,rep,name=angle_offset_degree" json:"angle_offset_degree,omitempty"` 140 | PitchDegree []float32 `protobuf:"fixed32,11,rep,name=pitch_degree" json:"pitch_degree,omitempty"` 141 | PitchOffsetDegree []float32 `protobuf:"fixed32,12,rep,name=pitch_offset_degree" json:"pitch_offset_degree,omitempty"` 142 | RollDegree []float32 `protobuf:"fixed32,13,rep,name=roll_degree" json:"roll_degree,omitempty"` 143 | DistanceMeters []float32 `protobuf:"fixed32,14,rep,name=distance_meters" json:"distance_meters,omitempty"` 144 | HeightPercent []float32 `protobuf:"fixed32,15,rep,name=height_percent" json:"height_percent,omitempty"` 145 | VertCtrRatio []float32 `protobuf:"fixed32,16,rep,name=vert_ctr_ratio" json:"vert_ctr_ratio,omitempty"` 146 | } 147 | 148 | func (m *CameraSettings) Reset() { *m = CameraSettings{} } 149 | func (m *CameraSettings) String() string { return proto.CompactTextString(m) } 150 | func (*CameraSettings) ProtoMessage() {} 151 | 152 | type EquippedBadgeSettings struct { 153 | EquipBadgeCooldownMs int64 `protobuf:"varint,1,opt,name=equip_badge_cooldown_ms" json:"equip_badge_cooldown_ms,omitempty"` 154 | CatchProbabilityBonus []float32 `protobuf:"fixed32,2,rep,name=catch_probability_bonus" json:"catch_probability_bonus,omitempty"` 155 | FleeProbabilityBonus []float32 `protobuf:"fixed32,3,rep,name=flee_probability_bonus" json:"flee_probability_bonus,omitempty"` 156 | } 157 | 158 | func (m *EquippedBadgeSettings) Reset() { *m = EquippedBadgeSettings{} } 159 | func (m *EquippedBadgeSettings) String() string { return proto.CompactTextString(m) } 160 | func (*EquippedBadgeSettings) ProtoMessage() {} 161 | 162 | type PlayerLevelSettings struct { 163 | RankNum []int32 `protobuf:"varint,1,rep,name=rank_num" json:"rank_num,omitempty"` 164 | RequiredExperience []int32 `protobuf:"varint,2,rep,name=required_experience" json:"required_experience,omitempty"` 165 | CpMultiplier []float32 `protobuf:"fixed32,3,rep,name=cp_multiplier" json:"cp_multiplier,omitempty"` 166 | MaxEggPlayerLevel int32 `protobuf:"varint,4,opt,name=max_egg_player_level" json:"max_egg_player_level,omitempty"` 167 | MaxEncounterPlayerLevel int32 `protobuf:"varint,5,opt,name=max_encounter_player_level" json:"max_encounter_player_level,omitempty"` 168 | } 169 | 170 | func (m *PlayerLevelSettings) Reset() { *m = PlayerLevelSettings{} } 171 | func (m *PlayerLevelSettings) String() string { return proto.CompactTextString(m) } 172 | func (*PlayerLevelSettings) ProtoMessage() {} 173 | 174 | type GymBattleSettings struct { 175 | EnergyPerSec float32 `protobuf:"fixed32,1,opt,name=energy_per_sec" json:"energy_per_sec,omitempty"` 176 | DodgeEnergyCost float32 `protobuf:"fixed32,2,opt,name=dodge_energy_cost" json:"dodge_energy_cost,omitempty"` 177 | RetargetSeconds float32 `protobuf:"fixed32,3,opt,name=retarget_seconds" json:"retarget_seconds,omitempty"` 178 | EnemyAttackInterval float32 `protobuf:"fixed32,4,opt,name=enemy_attack_interval" json:"enemy_attack_interval,omitempty"` 179 | AttackServerInterval float32 `protobuf:"fixed32,5,opt,name=attack_server_interval" json:"attack_server_interval,omitempty"` 180 | RoundDurationSeconds float32 `protobuf:"fixed32,6,opt,name=round_duration_seconds" json:"round_duration_seconds,omitempty"` 181 | BonusTimePerAllySeconds float32 `protobuf:"fixed32,7,opt,name=bonus_time_per_ally_seconds" json:"bonus_time_per_ally_seconds,omitempty"` 182 | MaximumAttackersPerBattle int32 `protobuf:"varint,8,opt,name=maximum_attackers_per_battle" json:"maximum_attackers_per_battle,omitempty"` 183 | SameTypeAttackBonusMultiplier float32 `protobuf:"fixed32,9,opt,name=same_type_attack_bonus_multiplier" json:"same_type_attack_bonus_multiplier,omitempty"` 184 | MaximumEnergy int32 `protobuf:"varint,10,opt,name=maximum_energy" json:"maximum_energy,omitempty"` 185 | EnergyDeltaPerHealthLost float32 `protobuf:"fixed32,11,opt,name=energy_delta_per_health_lost" json:"energy_delta_per_health_lost,omitempty"` 186 | DodgeDurationMs int32 `protobuf:"varint,12,opt,name=dodge_duration_ms" json:"dodge_duration_ms,omitempty"` 187 | MinimumPlayerLevel int32 `protobuf:"varint,13,opt,name=minimum_player_level" json:"minimum_player_level,omitempty"` 188 | SwapDurationMs int32 `protobuf:"varint,14,opt,name=swap_duration_ms" json:"swap_duration_ms,omitempty"` 189 | DodgeDamageReductionPercent float32 `protobuf:"fixed32,15,opt,name=dodge_damage_reduction_percent" json:"dodge_damage_reduction_percent,omitempty"` 190 | } 191 | 192 | func (m *GymBattleSettings) Reset() { *m = GymBattleSettings{} } 193 | func (m *GymBattleSettings) String() string { return proto.CompactTextString(m) } 194 | func (*GymBattleSettings) ProtoMessage() {} 195 | 196 | type MoveSettings struct { 197 | MovementId PokemonMove `protobuf:"varint,1,opt,name=movement_id,enum=POGOProtos.Enums.PokemonMove" json:"movement_id,omitempty"` 198 | AnimationId int32 `protobuf:"varint,2,opt,name=animation_id" json:"animation_id,omitempty"` 199 | PokemonType PokemonType `protobuf:"varint,3,opt,name=pokemon_type,enum=POGOProtos.Enums.PokemonType" json:"pokemon_type,omitempty"` 200 | Power float32 `protobuf:"fixed32,4,opt,name=power" json:"power,omitempty"` 201 | AccuracyChance float32 `protobuf:"fixed32,5,opt,name=accuracy_chance" json:"accuracy_chance,omitempty"` 202 | CriticalChance float32 `protobuf:"fixed32,6,opt,name=critical_chance" json:"critical_chance,omitempty"` 203 | HealScalar float32 `protobuf:"fixed32,7,opt,name=heal_scalar" json:"heal_scalar,omitempty"` 204 | StaminaLossScalar float32 `protobuf:"fixed32,8,opt,name=stamina_loss_scalar" json:"stamina_loss_scalar,omitempty"` 205 | TrainerLevelMin int32 `protobuf:"varint,9,opt,name=trainer_level_min" json:"trainer_level_min,omitempty"` 206 | TrainerLevelMax int32 `protobuf:"varint,10,opt,name=trainer_level_max" json:"trainer_level_max,omitempty"` 207 | VfxName string `protobuf:"bytes,11,opt,name=vfx_name" json:"vfx_name,omitempty"` 208 | DurationMs int32 `protobuf:"varint,12,opt,name=duration_ms" json:"duration_ms,omitempty"` 209 | DamageWindowStartMs int32 `protobuf:"varint,13,opt,name=damage_window_start_ms" json:"damage_window_start_ms,omitempty"` 210 | DamageWindowEndMs int32 `protobuf:"varint,14,opt,name=damage_window_end_ms" json:"damage_window_end_ms,omitempty"` 211 | EnergyDelta int32 `protobuf:"varint,15,opt,name=energy_delta" json:"energy_delta,omitempty"` 212 | } 213 | 214 | func (m *MoveSettings) Reset() { *m = MoveSettings{} } 215 | func (m *MoveSettings) String() string { return proto.CompactTextString(m) } 216 | func (*MoveSettings) ProtoMessage() {} 217 | 218 | type PokemonSettings struct { 219 | PokemonId PokemonId `protobuf:"varint,1,opt,name=pokemon_id,enum=POGOProtos.Enums.PokemonId" json:"pokemon_id,omitempty"` 220 | ModelScale float32 `protobuf:"fixed32,3,opt,name=model_scale" json:"model_scale,omitempty"` 221 | Type PokemonType `protobuf:"varint,4,opt,name=type,enum=POGOProtos.Enums.PokemonType" json:"type,omitempty"` 222 | Type_2 PokemonType `protobuf:"varint,5,opt,name=type_2,enum=POGOProtos.Enums.PokemonType" json:"type_2,omitempty"` 223 | Camera *CameraAttributes `protobuf:"bytes,6,opt,name=camera" json:"camera,omitempty"` 224 | Encounter *EncounterAttributes `protobuf:"bytes,7,opt,name=encounter" json:"encounter,omitempty"` 225 | Stats *StatsAttributes `protobuf:"bytes,8,opt,name=stats" json:"stats,omitempty"` 226 | QuickMoves []PokemonMove `protobuf:"varint,9,rep,name=quick_moves,enum=POGOProtos.Enums.PokemonMove" json:"quick_moves,omitempty"` 227 | CinematicMoves []PokemonMove `protobuf:"varint,10,rep,name=cinematic_moves,enum=POGOProtos.Enums.PokemonMove" json:"cinematic_moves,omitempty"` 228 | AnimationTime []float32 `protobuf:"fixed32,11,rep,name=animation_time" json:"animation_time,omitempty"` 229 | EvolutionIds []PokemonId `protobuf:"varint,12,rep,name=evolution_ids,enum=POGOProtos.Enums.PokemonId" json:"evolution_ids,omitempty"` 230 | EvolutionPips int32 `protobuf:"varint,13,opt,name=evolution_pips" json:"evolution_pips,omitempty"` 231 | Rarity PokemonRarity `protobuf:"varint,14,opt,name=rarity,enum=POGOProtos.Enums.PokemonRarity" json:"rarity,omitempty"` 232 | PokedexHeightM float32 `protobuf:"fixed32,15,opt,name=pokedex_height_m" json:"pokedex_height_m,omitempty"` 233 | PokedexWeightKg float32 `protobuf:"fixed32,16,opt,name=pokedex_weight_kg" json:"pokedex_weight_kg,omitempty"` 234 | ParentPokemonId PokemonId `protobuf:"varint,17,opt,name=parent_pokemon_id,enum=POGOProtos.Enums.PokemonId" json:"parent_pokemon_id,omitempty"` 235 | HeightStdDev float32 `protobuf:"fixed32,18,opt,name=height_std_dev" json:"height_std_dev,omitempty"` 236 | WeightStdDev float32 `protobuf:"fixed32,19,opt,name=weight_std_dev" json:"weight_std_dev,omitempty"` 237 | KmDistanceToHatch float32 `protobuf:"fixed32,20,opt,name=km_distance_to_hatch" json:"km_distance_to_hatch,omitempty"` 238 | FamilyId PokemonFamilyId `protobuf:"varint,21,opt,name=family_id,enum=POGOProtos.Enums.PokemonFamilyId" json:"family_id,omitempty"` 239 | CandyToEvolve int32 `protobuf:"varint,22,opt,name=candy_to_evolve" json:"candy_to_evolve,omitempty"` 240 | KmBuddyDistance float32 `protobuf:"fixed32,23,opt,name=km_buddy_distance" json:"km_buddy_distance,omitempty"` 241 | BuddySize PokemonSettings_BuddySize `protobuf:"varint,24,opt,name=buddy_size,enum=POGOProtos.Settings.Master.PokemonSettings_BuddySize" json:"buddy_size,omitempty"` 242 | } 243 | 244 | func (m *PokemonSettings) Reset() { *m = PokemonSettings{} } 245 | func (m *PokemonSettings) String() string { return proto.CompactTextString(m) } 246 | func (*PokemonSettings) ProtoMessage() {} 247 | 248 | func (m *PokemonSettings) GetCamera() *CameraAttributes { 249 | if m != nil { 250 | return m.Camera 251 | } 252 | return nil 253 | } 254 | 255 | func (m *PokemonSettings) GetEncounter() *EncounterAttributes { 256 | if m != nil { 257 | return m.Encounter 258 | } 259 | return nil 260 | } 261 | 262 | func (m *PokemonSettings) GetStats() *StatsAttributes { 263 | if m != nil { 264 | return m.Stats 265 | } 266 | return nil 267 | } 268 | 269 | type IapItemDisplay struct { 270 | Sku string `protobuf:"bytes,1,opt,name=sku" json:"sku,omitempty"` 271 | Category HoloIapItemCategory `protobuf:"varint,2,opt,name=category,enum=POGOProtos.Enums.HoloIapItemCategory" json:"category,omitempty"` 272 | SortOrder int32 `protobuf:"varint,3,opt,name=sort_order" json:"sort_order,omitempty"` 273 | ItemIds []ItemId `protobuf:"varint,4,rep,name=item_ids,enum=POGOProtos.Inventory.Item.ItemId" json:"item_ids,omitempty"` 274 | Counts []int32 `protobuf:"varint,5,rep,name=counts" json:"counts,omitempty"` 275 | } 276 | 277 | func (m *IapItemDisplay) Reset() { *m = IapItemDisplay{} } 278 | func (m *IapItemDisplay) String() string { return proto.CompactTextString(m) } 279 | func (*IapItemDisplay) ProtoMessage() {} 280 | 281 | type EncounterSettings struct { 282 | SpinBonusThreshold float32 `protobuf:"fixed32,1,opt,name=spin_bonus_threshold" json:"spin_bonus_threshold,omitempty"` 283 | ExcellentThrowThreshold float32 `protobuf:"fixed32,2,opt,name=excellent_throw_threshold" json:"excellent_throw_threshold,omitempty"` 284 | GreatThrowThreshold float32 `protobuf:"fixed32,3,opt,name=great_throw_threshold" json:"great_throw_threshold,omitempty"` 285 | NiceThrowThreshold float32 `protobuf:"fixed32,4,opt,name=nice_throw_threshold" json:"nice_throw_threshold,omitempty"` 286 | MilestoneThreshold int32 `protobuf:"varint,5,opt,name=milestone_threshold" json:"milestone_threshold,omitempty"` 287 | } 288 | 289 | func (m *EncounterSettings) Reset() { *m = EncounterSettings{} } 290 | func (m *EncounterSettings) String() string { return proto.CompactTextString(m) } 291 | func (*EncounterSettings) ProtoMessage() {} 292 | 293 | type PokemonUpgradeSettings struct { 294 | UpgradesPerLevel int32 `protobuf:"varint,1,opt,name=upgrades_per_level" json:"upgrades_per_level,omitempty"` 295 | AllowedLevelsAbovePlayer int32 `protobuf:"varint,2,opt,name=allowed_levels_above_player" json:"allowed_levels_above_player,omitempty"` 296 | CandyCost []int32 `protobuf:"varint,3,rep,name=candy_cost" json:"candy_cost,omitempty"` 297 | StardustCost []int32 `protobuf:"varint,4,rep,name=stardust_cost" json:"stardust_cost,omitempty"` 298 | } 299 | 300 | func (m *PokemonUpgradeSettings) Reset() { *m = PokemonUpgradeSettings{} } 301 | func (m *PokemonUpgradeSettings) String() string { return proto.CompactTextString(m) } 302 | func (*PokemonUpgradeSettings) ProtoMessage() {} 303 | 304 | type ItemSettings struct { 305 | ItemId ItemId `protobuf:"varint,1,opt,name=item_id,enum=POGOProtos.Inventory.Item.ItemId" json:"item_id,omitempty"` 306 | ItemType ItemType `protobuf:"varint,2,opt,name=item_type,enum=POGOProtos.Inventory.Item.ItemType" json:"item_type,omitempty"` 307 | Category ItemCategory `protobuf:"varint,3,opt,name=category,enum=POGOProtos.Enums.ItemCategory" json:"category,omitempty"` 308 | DropFreq float32 `protobuf:"fixed32,4,opt,name=drop_freq" json:"drop_freq,omitempty"` 309 | DropTrainerLevel int32 `protobuf:"varint,5,opt,name=drop_trainer_level" json:"drop_trainer_level,omitempty"` 310 | Pokeball *PokeballAttributes `protobuf:"bytes,6,opt,name=pokeball" json:"pokeball,omitempty"` 311 | Potion *PotionAttributes `protobuf:"bytes,7,opt,name=potion" json:"potion,omitempty"` 312 | Revive *ReviveAttributes `protobuf:"bytes,8,opt,name=revive" json:"revive,omitempty"` 313 | Battle *BattleAttributes `protobuf:"bytes,9,opt,name=battle" json:"battle,omitempty"` 314 | Food *FoodAttributes `protobuf:"bytes,10,opt,name=food" json:"food,omitempty"` 315 | InventoryUpgrade *InventoryUpgradeAttributes `protobuf:"bytes,11,opt,name=inventory_upgrade" json:"inventory_upgrade,omitempty"` 316 | XpBoost *ExperienceBoostAttributes `protobuf:"bytes,12,opt,name=xp_boost" json:"xp_boost,omitempty"` 317 | Incense *IncenseAttributes `protobuf:"bytes,13,opt,name=incense" json:"incense,omitempty"` 318 | EggIncubator *EggIncubatorAttributes `protobuf:"bytes,14,opt,name=egg_incubator" json:"egg_incubator,omitempty"` 319 | FortModifier *FortModifierAttributes `protobuf:"bytes,15,opt,name=fort_modifier" json:"fort_modifier,omitempty"` 320 | } 321 | 322 | func (m *ItemSettings) Reset() { *m = ItemSettings{} } 323 | func (m *ItemSettings) String() string { return proto.CompactTextString(m) } 324 | func (*ItemSettings) ProtoMessage() {} 325 | 326 | func (m *ItemSettings) GetPokeball() *PokeballAttributes { 327 | if m != nil { 328 | return m.Pokeball 329 | } 330 | return nil 331 | } 332 | 333 | func (m *ItemSettings) GetPotion() *PotionAttributes { 334 | if m != nil { 335 | return m.Potion 336 | } 337 | return nil 338 | } 339 | 340 | func (m *ItemSettings) GetRevive() *ReviveAttributes { 341 | if m != nil { 342 | return m.Revive 343 | } 344 | return nil 345 | } 346 | 347 | func (m *ItemSettings) GetBattle() *BattleAttributes { 348 | if m != nil { 349 | return m.Battle 350 | } 351 | return nil 352 | } 353 | 354 | func (m *ItemSettings) GetFood() *FoodAttributes { 355 | if m != nil { 356 | return m.Food 357 | } 358 | return nil 359 | } 360 | 361 | func (m *ItemSettings) GetInventoryUpgrade() *InventoryUpgradeAttributes { 362 | if m != nil { 363 | return m.InventoryUpgrade 364 | } 365 | return nil 366 | } 367 | 368 | func (m *ItemSettings) GetXpBoost() *ExperienceBoostAttributes { 369 | if m != nil { 370 | return m.XpBoost 371 | } 372 | return nil 373 | } 374 | 375 | func (m *ItemSettings) GetIncense() *IncenseAttributes { 376 | if m != nil { 377 | return m.Incense 378 | } 379 | return nil 380 | } 381 | 382 | func (m *ItemSettings) GetEggIncubator() *EggIncubatorAttributes { 383 | if m != nil { 384 | return m.EggIncubator 385 | } 386 | return nil 387 | } 388 | 389 | func (m *ItemSettings) GetFortModifier() *FortModifierAttributes { 390 | if m != nil { 391 | return m.FortModifier 392 | } 393 | return nil 394 | } 395 | 396 | type MoveSequenceSettings struct { 397 | Sequence []string `protobuf:"bytes,1,rep,name=sequence" json:"sequence,omitempty"` 398 | } 399 | 400 | func (m *MoveSequenceSettings) Reset() { *m = MoveSequenceSettings{} } 401 | func (m *MoveSequenceSettings) String() string { return proto.CompactTextString(m) } 402 | func (*MoveSequenceSettings) ProtoMessage() {} 403 | 404 | type BadgeSettings struct { 405 | BadgeType BadgeType `protobuf:"varint,1,opt,name=badge_type,enum=POGOProtos.Enums.BadgeType" json:"badge_type,omitempty"` 406 | BadgeRank int32 `protobuf:"varint,2,opt,name=badge_rank" json:"badge_rank,omitempty"` 407 | Targets []int32 `protobuf:"varint,3,rep,name=targets" json:"targets,omitempty"` 408 | } 409 | 410 | func (m *BadgeSettings) Reset() { *m = BadgeSettings{} } 411 | func (m *BadgeSettings) String() string { return proto.CompactTextString(m) } 412 | func (*BadgeSettings) ProtoMessage() {} 413 | 414 | type GymLevelSettings struct { 415 | RequiredExperience []int32 `protobuf:"varint,1,rep,name=required_experience" json:"required_experience,omitempty"` 416 | LeaderSlots []int32 `protobuf:"varint,2,rep,name=leader_slots" json:"leader_slots,omitempty"` 417 | TrainerSlots []int32 `protobuf:"varint,3,rep,name=trainer_slots" json:"trainer_slots,omitempty"` 418 | SearchRollBonus []int32 `protobuf:"varint,4,rep,name=search_roll_bonus" json:"search_roll_bonus,omitempty"` 419 | } 420 | 421 | func (m *GymLevelSettings) Reset() { *m = GymLevelSettings{} } 422 | func (m *GymLevelSettings) String() string { return proto.CompactTextString(m) } 423 | func (*GymLevelSettings) ProtoMessage() {} 424 | 425 | func init() { 426 | proto.RegisterEnum("POGOProtos.Settings.Master.PokemonSettings_BuddySize", PokemonSettings_BuddySize_name, PokemonSettings_BuddySize_value) 427 | } 428 | -------------------------------------------------------------------------------- /networking_requests_messages.pb.go: -------------------------------------------------------------------------------- 1 | // Code generated by protoc-gen-go. 2 | // source: networking_requests_messages.proto 3 | // DO NOT EDIT! 4 | 5 | package protos 6 | 7 | import proto "github.com/golang/protobuf/proto" 8 | 9 | // Reference imports to suppress errors if they are not otherwise used. 10 | var _ = proto.Marshal 11 | 12 | // Ignoring public import of ItemData from inventory_item.proto 13 | 14 | // Ignoring public import of ItemAward from inventory_item.proto 15 | 16 | // Ignoring public import of ItemId from inventory_item.proto 17 | 18 | // Ignoring public import of ItemType from inventory_item.proto 19 | 20 | // Ignoring public import of BadgeType from enums.proto 21 | 22 | // Ignoring public import of TutorialState from enums.proto 23 | 24 | // Ignoring public import of PokemonId from enums.proto 25 | 26 | // Ignoring public import of PokemonMovementType from enums.proto 27 | 28 | // Ignoring public import of Gender from enums.proto 29 | 30 | // Ignoring public import of ActivityType from enums.proto 31 | 32 | // Ignoring public import of CameraTarget from enums.proto 33 | 34 | // Ignoring public import of PokemonFamilyId from enums.proto 35 | 36 | // Ignoring public import of ItemCategory from enums.proto 37 | 38 | // Ignoring public import of CameraInterpolation from enums.proto 39 | 40 | // Ignoring public import of Platform from enums.proto 41 | 42 | // Ignoring public import of TeamColor from enums.proto 43 | 44 | // Ignoring public import of PokemonMove from enums.proto 45 | 46 | // Ignoring public import of ItemEffect from enums.proto 47 | 48 | // Ignoring public import of PokemonType from enums.proto 49 | 50 | // Ignoring public import of HoloIapItemCategory from enums.proto 51 | 52 | // Ignoring public import of PokemonRarity from enums.proto 53 | 54 | // Ignoring public import of ContactSettings from data_player.proto 55 | 56 | // Ignoring public import of PlayerAvatar from data_player.proto 57 | 58 | // Ignoring public import of Currency from data_player.proto 59 | 60 | // Ignoring public import of EquippedBadge from data_player.proto 61 | 62 | // Ignoring public import of PlayerStats from data_player.proto 63 | 64 | // Ignoring public import of PlayerCamera from data_player.proto 65 | 66 | // Ignoring public import of PlayerCurrency from data_player.proto 67 | 68 | // Ignoring public import of PlayerPublicProfile from data_player.proto 69 | 70 | // Ignoring public import of DailyBonus from data_player.proto 71 | 72 | // Ignoring public import of BattleAction from data_battle.proto 73 | 74 | // Ignoring public import of BattleParticipant from data_battle.proto 75 | 76 | // Ignoring public import of BattlePokemonInfo from data_battle.proto 77 | 78 | // Ignoring public import of BattleLog from data_battle.proto 79 | 80 | // Ignoring public import of BattleResults from data_battle.proto 81 | 82 | // Ignoring public import of BattleType from data_battle.proto 83 | 84 | // Ignoring public import of BattleState from data_battle.proto 85 | 86 | // Ignoring public import of BattleActionType from data_battle.proto 87 | 88 | type FortDeployPokemonMessage struct { 89 | FortId string `protobuf:"bytes,1,opt,name=fort_id" json:"fort_id,omitempty"` 90 | PokemonId uint64 `protobuf:"fixed64,2,opt,name=pokemon_id" json:"pokemon_id,omitempty"` 91 | PlayerLatitude float64 `protobuf:"fixed64,3,opt,name=player_latitude" json:"player_latitude,omitempty"` 92 | PlayerLongitude float64 `protobuf:"fixed64,4,opt,name=player_longitude" json:"player_longitude,omitempty"` 93 | } 94 | 95 | func (m *FortDeployPokemonMessage) Reset() { *m = FortDeployPokemonMessage{} } 96 | func (m *FortDeployPokemonMessage) String() string { return proto.CompactTextString(m) } 97 | func (*FortDeployPokemonMessage) ProtoMessage() {} 98 | 99 | type SfidaActionLogMessage struct { 100 | } 101 | 102 | func (m *SfidaActionLogMessage) Reset() { *m = SfidaActionLogMessage{} } 103 | func (m *SfidaActionLogMessage) String() string { return proto.CompactTextString(m) } 104 | func (*SfidaActionLogMessage) ProtoMessage() {} 105 | 106 | type GetInventoryMessage struct { 107 | LastTimestampMs int64 `protobuf:"varint,1,opt,name=last_timestamp_ms" json:"last_timestamp_ms,omitempty"` 108 | ItemBeenSeen int32 `protobuf:"varint,2,opt,name=item_been_seen" json:"item_been_seen,omitempty"` 109 | } 110 | 111 | func (m *GetInventoryMessage) Reset() { *m = GetInventoryMessage{} } 112 | func (m *GetInventoryMessage) String() string { return proto.CompactTextString(m) } 113 | func (*GetInventoryMessage) ProtoMessage() {} 114 | 115 | type GetSuggestedCodenamesMessage struct { 116 | } 117 | 118 | func (m *GetSuggestedCodenamesMessage) Reset() { *m = GetSuggestedCodenamesMessage{} } 119 | func (m *GetSuggestedCodenamesMessage) String() string { return proto.CompactTextString(m) } 120 | func (*GetSuggestedCodenamesMessage) ProtoMessage() {} 121 | 122 | type AddFortModifierMessage struct { 123 | ModifierType ItemId `protobuf:"varint,1,opt,name=modifier_type,enum=POGOProtos.Inventory.Item.ItemId" json:"modifier_type,omitempty"` 124 | FortId string `protobuf:"bytes,2,opt,name=fort_id" json:"fort_id,omitempty"` 125 | PlayerLatitude float64 `protobuf:"fixed64,3,opt,name=player_latitude" json:"player_latitude,omitempty"` 126 | PlayerLongitude float64 `protobuf:"fixed64,4,opt,name=player_longitude" json:"player_longitude,omitempty"` 127 | } 128 | 129 | func (m *AddFortModifierMessage) Reset() { *m = AddFortModifierMessage{} } 130 | func (m *AddFortModifierMessage) String() string { return proto.CompactTextString(m) } 131 | func (*AddFortModifierMessage) ProtoMessage() {} 132 | 133 | type FortDetailsMessage struct { 134 | FortId string `protobuf:"bytes,1,opt,name=fort_id" json:"fort_id,omitempty"` 135 | Latitude float64 `protobuf:"fixed64,2,opt,name=latitude" json:"latitude,omitempty"` 136 | Longitude float64 `protobuf:"fixed64,3,opt,name=longitude" json:"longitude,omitempty"` 137 | } 138 | 139 | func (m *FortDetailsMessage) Reset() { *m = FortDetailsMessage{} } 140 | func (m *FortDetailsMessage) String() string { return proto.CompactTextString(m) } 141 | func (*FortDetailsMessage) ProtoMessage() {} 142 | 143 | type GetIncensePokemonMessage struct { 144 | PlayerLatitude float64 `protobuf:"fixed64,1,opt,name=player_latitude" json:"player_latitude,omitempty"` 145 | PlayerLongitude float64 `protobuf:"fixed64,2,opt,name=player_longitude" json:"player_longitude,omitempty"` 146 | } 147 | 148 | func (m *GetIncensePokemonMessage) Reset() { *m = GetIncensePokemonMessage{} } 149 | func (m *GetIncensePokemonMessage) String() string { return proto.CompactTextString(m) } 150 | func (*GetIncensePokemonMessage) ProtoMessage() {} 151 | 152 | type FortRecallPokemonMessage struct { 153 | FortId string `protobuf:"bytes,1,opt,name=fort_id" json:"fort_id,omitempty"` 154 | PokemonId uint64 `protobuf:"fixed64,2,opt,name=pokemon_id" json:"pokemon_id,omitempty"` 155 | PlayerLatitude float64 `protobuf:"fixed64,3,opt,name=player_latitude" json:"player_latitude,omitempty"` 156 | PlayerLongitude float64 `protobuf:"fixed64,4,opt,name=player_longitude" json:"player_longitude,omitempty"` 157 | } 158 | 159 | func (m *FortRecallPokemonMessage) Reset() { *m = FortRecallPokemonMessage{} } 160 | func (m *FortRecallPokemonMessage) String() string { return proto.CompactTextString(m) } 161 | func (*FortRecallPokemonMessage) ProtoMessage() {} 162 | 163 | type ClaimCodenameMessage struct { 164 | Codename string `protobuf:"bytes,1,opt,name=codename" json:"codename,omitempty"` 165 | } 166 | 167 | func (m *ClaimCodenameMessage) Reset() { *m = ClaimCodenameMessage{} } 168 | func (m *ClaimCodenameMessage) String() string { return proto.CompactTextString(m) } 169 | func (*ClaimCodenameMessage) ProtoMessage() {} 170 | 171 | type RecycleInventoryItemMessage struct { 172 | ItemId ItemId `protobuf:"varint,1,opt,name=item_id,enum=POGOProtos.Inventory.Item.ItemId" json:"item_id,omitempty"` 173 | Count int32 `protobuf:"varint,2,opt,name=count" json:"count,omitempty"` 174 | } 175 | 176 | func (m *RecycleInventoryItemMessage) Reset() { *m = RecycleInventoryItemMessage{} } 177 | func (m *RecycleInventoryItemMessage) String() string { return proto.CompactTextString(m) } 178 | func (*RecycleInventoryItemMessage) ProtoMessage() {} 179 | 180 | type GetPlayerProfileMessage struct { 181 | PlayerName string `protobuf:"bytes,1,opt,name=player_name" json:"player_name,omitempty"` 182 | } 183 | 184 | func (m *GetPlayerProfileMessage) Reset() { *m = GetPlayerProfileMessage{} } 185 | func (m *GetPlayerProfileMessage) String() string { return proto.CompactTextString(m) } 186 | func (*GetPlayerProfileMessage) ProtoMessage() {} 187 | 188 | type GetHatchedEggsMessage struct { 189 | } 190 | 191 | func (m *GetHatchedEggsMessage) Reset() { *m = GetHatchedEggsMessage{} } 192 | func (m *GetHatchedEggsMessage) String() string { return proto.CompactTextString(m) } 193 | func (*GetHatchedEggsMessage) ProtoMessage() {} 194 | 195 | type CheckAwardedBadgesMessage struct { 196 | } 197 | 198 | func (m *CheckAwardedBadgesMessage) Reset() { *m = CheckAwardedBadgesMessage{} } 199 | func (m *CheckAwardedBadgesMessage) String() string { return proto.CompactTextString(m) } 200 | func (*CheckAwardedBadgesMessage) ProtoMessage() {} 201 | 202 | type LevelUpRewardsMessage struct { 203 | Level int32 `protobuf:"varint,1,opt,name=level" json:"level,omitempty"` 204 | } 205 | 206 | func (m *LevelUpRewardsMessage) Reset() { *m = LevelUpRewardsMessage{} } 207 | func (m *LevelUpRewardsMessage) String() string { return proto.CompactTextString(m) } 208 | func (*LevelUpRewardsMessage) ProtoMessage() {} 209 | 210 | type DownloadRemoteConfigVersionMessage struct { 211 | Platform Platform `protobuf:"varint,1,opt,name=platform,enum=POGOProtos.Enums.Platform" json:"platform,omitempty"` 212 | DeviceManufacturer string `protobuf:"bytes,2,opt,name=device_manufacturer" json:"device_manufacturer,omitempty"` 213 | DeviceModel string `protobuf:"bytes,3,opt,name=device_model" json:"device_model,omitempty"` 214 | Locale string `protobuf:"bytes,4,opt,name=locale" json:"locale,omitempty"` 215 | AppVersion uint32 `protobuf:"varint,5,opt,name=app_version" json:"app_version,omitempty"` 216 | } 217 | 218 | func (m *DownloadRemoteConfigVersionMessage) Reset() { *m = DownloadRemoteConfigVersionMessage{} } 219 | func (m *DownloadRemoteConfigVersionMessage) String() string { return proto.CompactTextString(m) } 220 | func (*DownloadRemoteConfigVersionMessage) ProtoMessage() {} 221 | 222 | type UseItemXpBoostMessage struct { 223 | ItemId ItemId `protobuf:"varint,1,opt,name=item_id,enum=POGOProtos.Inventory.Item.ItemId" json:"item_id,omitempty"` 224 | } 225 | 226 | func (m *UseItemXpBoostMessage) Reset() { *m = UseItemXpBoostMessage{} } 227 | func (m *UseItemXpBoostMessage) String() string { return proto.CompactTextString(m) } 228 | func (*UseItemXpBoostMessage) ProtoMessage() {} 229 | 230 | type SetFavoritePokemonMessage struct { 231 | PokemonId int64 `protobuf:"varint,1,opt,name=pokemon_id" json:"pokemon_id,omitempty"` 232 | IsFavorite bool `protobuf:"varint,2,opt,name=is_favorite" json:"is_favorite,omitempty"` 233 | } 234 | 235 | func (m *SetFavoritePokemonMessage) Reset() { *m = SetFavoritePokemonMessage{} } 236 | func (m *SetFavoritePokemonMessage) String() string { return proto.CompactTextString(m) } 237 | func (*SetFavoritePokemonMessage) ProtoMessage() {} 238 | 239 | type PlayerUpdateMessage struct { 240 | Latitude float64 `protobuf:"fixed64,1,opt,name=latitude" json:"latitude,omitempty"` 241 | Longitude float64 `protobuf:"fixed64,2,opt,name=longitude" json:"longitude,omitempty"` 242 | } 243 | 244 | func (m *PlayerUpdateMessage) Reset() { *m = PlayerUpdateMessage{} } 245 | func (m *PlayerUpdateMessage) String() string { return proto.CompactTextString(m) } 246 | func (*PlayerUpdateMessage) ProtoMessage() {} 247 | 248 | type CheckChallengeMessage struct { 249 | DebugRequest bool `protobuf:"varint,1,opt,name=debug_request" json:"debug_request,omitempty"` 250 | } 251 | 252 | func (m *CheckChallengeMessage) Reset() { *m = CheckChallengeMessage{} } 253 | func (m *CheckChallengeMessage) String() string { return proto.CompactTextString(m) } 254 | func (*CheckChallengeMessage) ProtoMessage() {} 255 | 256 | type NicknamePokemonMessage struct { 257 | PokemonId uint64 `protobuf:"fixed64,1,opt,name=pokemon_id" json:"pokemon_id,omitempty"` 258 | Nickname string `protobuf:"bytes,2,opt,name=nickname" json:"nickname,omitempty"` 259 | } 260 | 261 | func (m *NicknamePokemonMessage) Reset() { *m = NicknamePokemonMessage{} } 262 | func (m *NicknamePokemonMessage) String() string { return proto.CompactTextString(m) } 263 | func (*NicknamePokemonMessage) ProtoMessage() {} 264 | 265 | type DownloadItemTemplatesMessage struct { 266 | } 267 | 268 | func (m *DownloadItemTemplatesMessage) Reset() { *m = DownloadItemTemplatesMessage{} } 269 | func (m *DownloadItemTemplatesMessage) String() string { return proto.CompactTextString(m) } 270 | func (*DownloadItemTemplatesMessage) ProtoMessage() {} 271 | 272 | type EncounterTutorialCompleteMessage struct { 273 | PokemonId PokemonId `protobuf:"varint,1,opt,name=pokemon_id,enum=POGOProtos.Enums.PokemonId" json:"pokemon_id,omitempty"` 274 | } 275 | 276 | func (m *EncounterTutorialCompleteMessage) Reset() { *m = EncounterTutorialCompleteMessage{} } 277 | func (m *EncounterTutorialCompleteMessage) String() string { return proto.CompactTextString(m) } 278 | func (*EncounterTutorialCompleteMessage) ProtoMessage() {} 279 | 280 | type EncounterMessage struct { 281 | EncounterId uint64 `protobuf:"fixed64,1,opt,name=encounter_id" json:"encounter_id,omitempty"` 282 | SpawnPointId string `protobuf:"bytes,2,opt,name=spawn_point_id" json:"spawn_point_id,omitempty"` 283 | PlayerLatitude float64 `protobuf:"fixed64,3,opt,name=player_latitude" json:"player_latitude,omitempty"` 284 | PlayerLongitude float64 `protobuf:"fixed64,4,opt,name=player_longitude" json:"player_longitude,omitempty"` 285 | } 286 | 287 | func (m *EncounterMessage) Reset() { *m = EncounterMessage{} } 288 | func (m *EncounterMessage) String() string { return proto.CompactTextString(m) } 289 | func (*EncounterMessage) ProtoMessage() {} 290 | 291 | type UseItemGymMessage struct { 292 | ItemId ItemId `protobuf:"varint,1,opt,name=item_id,enum=POGOProtos.Inventory.Item.ItemId" json:"item_id,omitempty"` 293 | GymId string `protobuf:"bytes,2,opt,name=gym_id" json:"gym_id,omitempty"` 294 | PlayerLatitude float64 `protobuf:"fixed64,3,opt,name=player_latitude" json:"player_latitude,omitempty"` 295 | PlayerLongitude float64 `protobuf:"fixed64,4,opt,name=player_longitude" json:"player_longitude,omitempty"` 296 | } 297 | 298 | func (m *UseItemGymMessage) Reset() { *m = UseItemGymMessage{} } 299 | func (m *UseItemGymMessage) String() string { return proto.CompactTextString(m) } 300 | func (*UseItemGymMessage) ProtoMessage() {} 301 | 302 | type CollectDailyDefenderBonusMessage struct { 303 | } 304 | 305 | func (m *CollectDailyDefenderBonusMessage) Reset() { *m = CollectDailyDefenderBonusMessage{} } 306 | func (m *CollectDailyDefenderBonusMessage) String() string { return proto.CompactTextString(m) } 307 | func (*CollectDailyDefenderBonusMessage) ProtoMessage() {} 308 | 309 | type UpgradePokemonMessage struct { 310 | PokemonId uint64 `protobuf:"fixed64,1,opt,name=pokemon_id" json:"pokemon_id,omitempty"` 311 | } 312 | 313 | func (m *UpgradePokemonMessage) Reset() { *m = UpgradePokemonMessage{} } 314 | func (m *UpgradePokemonMessage) String() string { return proto.CompactTextString(m) } 315 | func (*UpgradePokemonMessage) ProtoMessage() {} 316 | 317 | type EvolvePokemonMessage struct { 318 | PokemonId uint64 `protobuf:"fixed64,1,opt,name=pokemon_id" json:"pokemon_id,omitempty"` 319 | } 320 | 321 | func (m *EvolvePokemonMessage) Reset() { *m = EvolvePokemonMessage{} } 322 | func (m *EvolvePokemonMessage) String() string { return proto.CompactTextString(m) } 323 | func (*EvolvePokemonMessage) ProtoMessage() {} 324 | 325 | type MarkTutorialCompleteMessage struct { 326 | TutorialsCompleted []TutorialState `protobuf:"varint,1,rep,name=tutorials_completed,enum=POGOProtos.Enums.TutorialState" json:"tutorials_completed,omitempty"` 327 | SendMarketingEmails bool `protobuf:"varint,2,opt,name=send_marketing_emails" json:"send_marketing_emails,omitempty"` 328 | SendPushNotifications bool `protobuf:"varint,3,opt,name=send_push_notifications" json:"send_push_notifications,omitempty"` 329 | } 330 | 331 | func (m *MarkTutorialCompleteMessage) Reset() { *m = MarkTutorialCompleteMessage{} } 332 | func (m *MarkTutorialCompleteMessage) String() string { return proto.CompactTextString(m) } 333 | func (*MarkTutorialCompleteMessage) ProtoMessage() {} 334 | 335 | type DiskEncounterMessage struct { 336 | EncounterId uint64 `protobuf:"varint,1,opt,name=encounter_id" json:"encounter_id,omitempty"` 337 | FortId string `protobuf:"bytes,2,opt,name=fort_id" json:"fort_id,omitempty"` 338 | PlayerLatitude float64 `protobuf:"fixed64,3,opt,name=player_latitude" json:"player_latitude,omitempty"` 339 | PlayerLongitude float64 `protobuf:"fixed64,4,opt,name=player_longitude" json:"player_longitude,omitempty"` 340 | } 341 | 342 | func (m *DiskEncounterMessage) Reset() { *m = DiskEncounterMessage{} } 343 | func (m *DiskEncounterMessage) String() string { return proto.CompactTextString(m) } 344 | func (*DiskEncounterMessage) ProtoMessage() {} 345 | 346 | type GetMapObjectsMessage struct { 347 | CellId []uint64 `protobuf:"varint,1,rep,packed,name=cell_id" json:"cell_id,omitempty"` 348 | SinceTimestampMs []int64 `protobuf:"varint,2,rep,packed,name=since_timestamp_ms" json:"since_timestamp_ms,omitempty"` 349 | Latitude float64 `protobuf:"fixed64,3,opt,name=latitude" json:"latitude,omitempty"` 350 | Longitude float64 `protobuf:"fixed64,4,opt,name=longitude" json:"longitude,omitempty"` 351 | } 352 | 353 | func (m *GetMapObjectsMessage) Reset() { *m = GetMapObjectsMessage{} } 354 | func (m *GetMapObjectsMessage) String() string { return proto.CompactTextString(m) } 355 | func (*GetMapObjectsMessage) ProtoMessage() {} 356 | 357 | type SetAvatarMessage struct { 358 | PlayerAvatar *PlayerAvatar `protobuf:"bytes,2,opt,name=player_avatar" json:"player_avatar,omitempty"` 359 | } 360 | 361 | func (m *SetAvatarMessage) Reset() { *m = SetAvatarMessage{} } 362 | func (m *SetAvatarMessage) String() string { return proto.CompactTextString(m) } 363 | func (*SetAvatarMessage) ProtoMessage() {} 364 | 365 | func (m *SetAvatarMessage) GetPlayerAvatar() *PlayerAvatar { 366 | if m != nil { 367 | return m.PlayerAvatar 368 | } 369 | return nil 370 | } 371 | 372 | type GetAssetDigestMessage struct { 373 | Platform Platform `protobuf:"varint,1,opt,name=platform,enum=POGOProtos.Enums.Platform" json:"platform,omitempty"` 374 | DeviceManufacturer string `protobuf:"bytes,2,opt,name=device_manufacturer" json:"device_manufacturer,omitempty"` 375 | DeviceModel string `protobuf:"bytes,3,opt,name=device_model" json:"device_model,omitempty"` 376 | Locale string `protobuf:"bytes,4,opt,name=locale" json:"locale,omitempty"` 377 | AppVersion uint32 `protobuf:"varint,5,opt,name=app_version" json:"app_version,omitempty"` 378 | } 379 | 380 | func (m *GetAssetDigestMessage) Reset() { *m = GetAssetDigestMessage{} } 381 | func (m *GetAssetDigestMessage) String() string { return proto.CompactTextString(m) } 382 | func (*GetAssetDigestMessage) ProtoMessage() {} 383 | 384 | type DownloadSettingsMessage struct { 385 | Hash string `protobuf:"bytes,1,opt,name=hash" json:"hash,omitempty"` 386 | } 387 | 388 | func (m *DownloadSettingsMessage) Reset() { *m = DownloadSettingsMessage{} } 389 | func (m *DownloadSettingsMessage) String() string { return proto.CompactTextString(m) } 390 | func (*DownloadSettingsMessage) ProtoMessage() {} 391 | 392 | type StartGymBattleMessage struct { 393 | GymId string `protobuf:"bytes,1,opt,name=gym_id" json:"gym_id,omitempty"` 394 | AttackingPokemonIds []uint64 `protobuf:"fixed64,2,rep,name=attacking_pokemon_ids" json:"attacking_pokemon_ids,omitempty"` 395 | DefendingPokemonId uint64 `protobuf:"fixed64,3,opt,name=defending_pokemon_id" json:"defending_pokemon_id,omitempty"` 396 | PlayerLatitude float64 `protobuf:"fixed64,4,opt,name=player_latitude" json:"player_latitude,omitempty"` 397 | PlayerLongitude float64 `protobuf:"fixed64,5,opt,name=player_longitude" json:"player_longitude,omitempty"` 398 | } 399 | 400 | func (m *StartGymBattleMessage) Reset() { *m = StartGymBattleMessage{} } 401 | func (m *StartGymBattleMessage) String() string { return proto.CompactTextString(m) } 402 | func (*StartGymBattleMessage) ProtoMessage() {} 403 | 404 | type ReleasePokemonMessage struct { 405 | PokemonId uint64 `protobuf:"fixed64,1,opt,name=pokemon_id" json:"pokemon_id,omitempty"` 406 | } 407 | 408 | func (m *ReleasePokemonMessage) Reset() { *m = ReleasePokemonMessage{} } 409 | func (m *ReleasePokemonMessage) String() string { return proto.CompactTextString(m) } 410 | func (*ReleasePokemonMessage) ProtoMessage() {} 411 | 412 | type UseIncenseMessage struct { 413 | IncenseType ItemId `protobuf:"varint,1,opt,name=incense_type,enum=POGOProtos.Inventory.Item.ItemId" json:"incense_type,omitempty"` 414 | } 415 | 416 | func (m *UseIncenseMessage) Reset() { *m = UseIncenseMessage{} } 417 | func (m *UseIncenseMessage) String() string { return proto.CompactTextString(m) } 418 | func (*UseIncenseMessage) ProtoMessage() {} 419 | 420 | type CollectDailyBonusMessage struct { 421 | } 422 | 423 | func (m *CollectDailyBonusMessage) Reset() { *m = CollectDailyBonusMessage{} } 424 | func (m *CollectDailyBonusMessage) String() string { return proto.CompactTextString(m) } 425 | func (*CollectDailyBonusMessage) ProtoMessage() {} 426 | 427 | type GetPlayerMessage struct { 428 | PlayerLocale *GetPlayerMessage_PlayerLocale `protobuf:"bytes,1,opt,name=player_locale" json:"player_locale,omitempty"` 429 | } 430 | 431 | func (m *GetPlayerMessage) Reset() { *m = GetPlayerMessage{} } 432 | func (m *GetPlayerMessage) String() string { return proto.CompactTextString(m) } 433 | func (*GetPlayerMessage) ProtoMessage() {} 434 | 435 | func (m *GetPlayerMessage) GetPlayerLocale() *GetPlayerMessage_PlayerLocale { 436 | if m != nil { 437 | return m.PlayerLocale 438 | } 439 | return nil 440 | } 441 | 442 | type GetPlayerMessage_PlayerLocale struct { 443 | Country string `protobuf:"bytes,1,opt,name=country" json:"country,omitempty"` 444 | Language string `protobuf:"bytes,2,opt,name=language" json:"language,omitempty"` 445 | } 446 | 447 | func (m *GetPlayerMessage_PlayerLocale) Reset() { *m = GetPlayerMessage_PlayerLocale{} } 448 | func (m *GetPlayerMessage_PlayerLocale) String() string { return proto.CompactTextString(m) } 449 | func (*GetPlayerMessage_PlayerLocale) ProtoMessage() {} 450 | 451 | type GetBuddyWalkedMessage struct { 452 | } 453 | 454 | func (m *GetBuddyWalkedMessage) Reset() { *m = GetBuddyWalkedMessage{} } 455 | func (m *GetBuddyWalkedMessage) String() string { return proto.CompactTextString(m) } 456 | func (*GetBuddyWalkedMessage) ProtoMessage() {} 457 | 458 | type VerifyChallengeMessage struct { 459 | Token string `protobuf:"bytes,1,opt,name=token" json:"token,omitempty"` 460 | } 461 | 462 | func (m *VerifyChallengeMessage) Reset() { *m = VerifyChallengeMessage{} } 463 | func (m *VerifyChallengeMessage) String() string { return proto.CompactTextString(m) } 464 | func (*VerifyChallengeMessage) ProtoMessage() {} 465 | 466 | type UseItemCaptureMessage struct { 467 | ItemId ItemId `protobuf:"varint,1,opt,name=item_id,enum=POGOProtos.Inventory.Item.ItemId" json:"item_id,omitempty"` 468 | EncounterId uint64 `protobuf:"fixed64,2,opt,name=encounter_id" json:"encounter_id,omitempty"` 469 | SpawnPointId string `protobuf:"bytes,3,opt,name=spawn_point_id" json:"spawn_point_id,omitempty"` 470 | } 471 | 472 | func (m *UseItemCaptureMessage) Reset() { *m = UseItemCaptureMessage{} } 473 | func (m *UseItemCaptureMessage) String() string { return proto.CompactTextString(m) } 474 | func (*UseItemCaptureMessage) ProtoMessage() {} 475 | 476 | type FortSearchMessage struct { 477 | FortId string `protobuf:"bytes,1,opt,name=fort_id" json:"fort_id,omitempty"` 478 | PlayerLatitude float64 `protobuf:"fixed64,2,opt,name=player_latitude" json:"player_latitude,omitempty"` 479 | PlayerLongitude float64 `protobuf:"fixed64,3,opt,name=player_longitude" json:"player_longitude,omitempty"` 480 | FortLatitude float64 `protobuf:"fixed64,4,opt,name=fort_latitude" json:"fort_latitude,omitempty"` 481 | FortLongitude float64 `protobuf:"fixed64,5,opt,name=fort_longitude" json:"fort_longitude,omitempty"` 482 | } 483 | 484 | func (m *FortSearchMessage) Reset() { *m = FortSearchMessage{} } 485 | func (m *FortSearchMessage) String() string { return proto.CompactTextString(m) } 486 | func (*FortSearchMessage) ProtoMessage() {} 487 | 488 | type CheckCodenameAvailableMessage struct { 489 | Codename string `protobuf:"bytes,1,opt,name=codename" json:"codename,omitempty"` 490 | } 491 | 492 | func (m *CheckCodenameAvailableMessage) Reset() { *m = CheckCodenameAvailableMessage{} } 493 | func (m *CheckCodenameAvailableMessage) String() string { return proto.CompactTextString(m) } 494 | func (*CheckCodenameAvailableMessage) ProtoMessage() {} 495 | 496 | type GetDownloadUrlsMessage struct { 497 | AssetId []string `protobuf:"bytes,1,rep,name=asset_id" json:"asset_id,omitempty"` 498 | } 499 | 500 | func (m *GetDownloadUrlsMessage) Reset() { *m = GetDownloadUrlsMessage{} } 501 | func (m *GetDownloadUrlsMessage) String() string { return proto.CompactTextString(m) } 502 | func (*GetDownloadUrlsMessage) ProtoMessage() {} 503 | 504 | type IncenseEncounterMessage struct { 505 | EncounterId uint64 `protobuf:"varint,1,opt,name=encounter_id" json:"encounter_id,omitempty"` 506 | EncounterLocation string `protobuf:"bytes,2,opt,name=encounter_location" json:"encounter_location,omitempty"` 507 | } 508 | 509 | func (m *IncenseEncounterMessage) Reset() { *m = IncenseEncounterMessage{} } 510 | func (m *IncenseEncounterMessage) String() string { return proto.CompactTextString(m) } 511 | func (*IncenseEncounterMessage) ProtoMessage() {} 512 | 513 | type SetPlayerTeamMessage struct { 514 | Team TeamColor `protobuf:"varint,1,opt,name=team,enum=POGOProtos.Enums.TeamColor" json:"team,omitempty"` 515 | } 516 | 517 | func (m *SetPlayerTeamMessage) Reset() { *m = SetPlayerTeamMessage{} } 518 | func (m *SetPlayerTeamMessage) String() string { return proto.CompactTextString(m) } 519 | func (*SetPlayerTeamMessage) ProtoMessage() {} 520 | 521 | type UseItemEggIncubatorMessage struct { 522 | ItemId string `protobuf:"bytes,1,opt,name=item_id" json:"item_id,omitempty"` 523 | PokemonId uint64 `protobuf:"varint,2,opt,name=pokemon_id" json:"pokemon_id,omitempty"` 524 | } 525 | 526 | func (m *UseItemEggIncubatorMessage) Reset() { *m = UseItemEggIncubatorMessage{} } 527 | func (m *UseItemEggIncubatorMessage) String() string { return proto.CompactTextString(m) } 528 | func (*UseItemEggIncubatorMessage) ProtoMessage() {} 529 | 530 | type AttackGymMessage struct { 531 | GymId string `protobuf:"bytes,1,opt,name=gym_id" json:"gym_id,omitempty"` 532 | BattleId string `protobuf:"bytes,2,opt,name=battle_id" json:"battle_id,omitempty"` 533 | AttackActions []*BattleAction `protobuf:"bytes,3,rep,name=attack_actions" json:"attack_actions,omitempty"` 534 | LastRetrievedActions *BattleAction `protobuf:"bytes,4,opt,name=last_retrieved_actions" json:"last_retrieved_actions,omitempty"` 535 | PlayerLatitude float64 `protobuf:"fixed64,5,opt,name=player_latitude" json:"player_latitude,omitempty"` 536 | PlayerLongitude float64 `protobuf:"fixed64,6,opt,name=player_longitude" json:"player_longitude,omitempty"` 537 | } 538 | 539 | func (m *AttackGymMessage) Reset() { *m = AttackGymMessage{} } 540 | func (m *AttackGymMessage) String() string { return proto.CompactTextString(m) } 541 | func (*AttackGymMessage) ProtoMessage() {} 542 | 543 | func (m *AttackGymMessage) GetAttackActions() []*BattleAction { 544 | if m != nil { 545 | return m.AttackActions 546 | } 547 | return nil 548 | } 549 | 550 | func (m *AttackGymMessage) GetLastRetrievedActions() *BattleAction { 551 | if m != nil { 552 | return m.LastRetrievedActions 553 | } 554 | return nil 555 | } 556 | 557 | type CatchPokemonMessage struct { 558 | EncounterId uint64 `protobuf:"fixed64,1,opt,name=encounter_id" json:"encounter_id,omitempty"` 559 | Pokeball ItemId `protobuf:"varint,2,opt,name=pokeball,enum=POGOProtos.Inventory.Item.ItemId" json:"pokeball,omitempty"` 560 | NormalizedReticleSize float64 `protobuf:"fixed64,3,opt,name=normalized_reticle_size" json:"normalized_reticle_size,omitempty"` 561 | SpawnPointId string `protobuf:"bytes,4,opt,name=spawn_point_id" json:"spawn_point_id,omitempty"` 562 | HitPokemon bool `protobuf:"varint,5,opt,name=hit_pokemon" json:"hit_pokemon,omitempty"` 563 | SpinModifier float64 `protobuf:"fixed64,6,opt,name=spin_modifier" json:"spin_modifier,omitempty"` 564 | NormalizedHitPosition float64 `protobuf:"fixed64,7,opt,name=normalized_hit_position" json:"normalized_hit_position,omitempty"` 565 | } 566 | 567 | func (m *CatchPokemonMessage) Reset() { *m = CatchPokemonMessage{} } 568 | func (m *CatchPokemonMessage) String() string { return proto.CompactTextString(m) } 569 | func (*CatchPokemonMessage) ProtoMessage() {} 570 | 571 | type UseItemPotionMessage struct { 572 | ItemId ItemId `protobuf:"varint,1,opt,name=item_id,enum=POGOProtos.Inventory.Item.ItemId" json:"item_id,omitempty"` 573 | PokemonId uint64 `protobuf:"fixed64,2,opt,name=pokemon_id" json:"pokemon_id,omitempty"` 574 | } 575 | 576 | func (m *UseItemPotionMessage) Reset() { *m = UseItemPotionMessage{} } 577 | func (m *UseItemPotionMessage) String() string { return proto.CompactTextString(m) } 578 | func (*UseItemPotionMessage) ProtoMessage() {} 579 | 580 | type EchoMessage struct { 581 | } 582 | 583 | func (m *EchoMessage) Reset() { *m = EchoMessage{} } 584 | func (m *EchoMessage) String() string { return proto.CompactTextString(m) } 585 | func (*EchoMessage) ProtoMessage() {} 586 | 587 | type GetGymDetailsMessage struct { 588 | GymId string `protobuf:"bytes,1,opt,name=gym_id" json:"gym_id,omitempty"` 589 | PlayerLatitude float64 `protobuf:"fixed64,2,opt,name=player_latitude" json:"player_latitude,omitempty"` 590 | PlayerLongitude float64 `protobuf:"fixed64,3,opt,name=player_longitude" json:"player_longitude,omitempty"` 591 | GymLatitude float64 `protobuf:"fixed64,4,opt,name=gym_latitude" json:"gym_latitude,omitempty"` 592 | GymLongitude float64 `protobuf:"fixed64,5,opt,name=gym_longitude" json:"gym_longitude,omitempty"` 593 | ClientVersion string `protobuf:"bytes,6,opt,name=client_version" json:"client_version,omitempty"` 594 | } 595 | 596 | func (m *GetGymDetailsMessage) Reset() { *m = GetGymDetailsMessage{} } 597 | func (m *GetGymDetailsMessage) String() string { return proto.CompactTextString(m) } 598 | func (*GetGymDetailsMessage) ProtoMessage() {} 599 | 600 | type SetBuddyPokemonMessage struct { 601 | PokemonId uint64 `protobuf:"fixed64,1,opt,name=pokemon_id" json:"pokemon_id,omitempty"` 602 | } 603 | 604 | func (m *SetBuddyPokemonMessage) Reset() { *m = SetBuddyPokemonMessage{} } 605 | func (m *SetBuddyPokemonMessage) String() string { return proto.CompactTextString(m) } 606 | func (*SetBuddyPokemonMessage) ProtoMessage() {} 607 | 608 | type EquipBadgeMessage struct { 609 | BadgeType BadgeType `protobuf:"varint,1,opt,name=badge_type,enum=POGOProtos.Enums.BadgeType" json:"badge_type,omitempty"` 610 | } 611 | 612 | func (m *EquipBadgeMessage) Reset() { *m = EquipBadgeMessage{} } 613 | func (m *EquipBadgeMessage) String() string { return proto.CompactTextString(m) } 614 | func (*EquipBadgeMessage) ProtoMessage() {} 615 | 616 | type UseItemReviveMessage struct { 617 | ItemId ItemId `protobuf:"varint,1,opt,name=item_id,enum=POGOProtos.Inventory.Item.ItemId" json:"item_id,omitempty"` 618 | PokemonId uint64 `protobuf:"fixed64,2,opt,name=pokemon_id" json:"pokemon_id,omitempty"` 619 | } 620 | 621 | func (m *UseItemReviveMessage) Reset() { *m = UseItemReviveMessage{} } 622 | func (m *UseItemReviveMessage) String() string { return proto.CompactTextString(m) } 623 | func (*UseItemReviveMessage) ProtoMessage() {} 624 | 625 | type SetContactSettingsMessage struct { 626 | ContactSettings *ContactSettings `protobuf:"bytes,1,opt,name=contact_settings" json:"contact_settings,omitempty"` 627 | } 628 | 629 | func (m *SetContactSettingsMessage) Reset() { *m = SetContactSettingsMessage{} } 630 | func (m *SetContactSettingsMessage) String() string { return proto.CompactTextString(m) } 631 | func (*SetContactSettingsMessage) ProtoMessage() {} 632 | 633 | func (m *SetContactSettingsMessage) GetContactSettings() *ContactSettings { 634 | if m != nil { 635 | return m.ContactSettings 636 | } 637 | return nil 638 | } 639 | 640 | func init() { 641 | } 642 | --------------------------------------------------------------------------------