lib/poke-api/pogoprotos/pogoprotos_map.rb
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: POGOProtos.Map.proto
require 'google/protobuf'
require_relative 'pogoprotos_map_fort'
require_relative 'pogoprotos_map_pokemon'
Google::Protobuf::DescriptorPool.generated_pool.build do
add_message "POGOProtos.Map.MapCell" do
optional :s2_cell_id, :uint64, 1
optional :current_timestamp_ms, :int64, 2
repeated :forts, :message, 3, "POGOProtos.Map.Fort.FortData"
repeated :spawn_points, :message, 4, "POGOProtos.Map.SpawnPoint"
repeated :deleted_objects, :string, 6
optional :is_truncated_list, :bool, 7
repeated :fort_summaries, :message, 8, "POGOProtos.Map.Fort.FortSummary"
repeated :decimated_spawn_points, :message, 9, "POGOProtos.Map.SpawnPoint"
repeated :wild_pokemons, :message, 5, "POGOProtos.Map.Pokemon.WildPokemon"
repeated :catchable_pokemons, :message, 10, "POGOProtos.Map.Pokemon.MapPokemon"
repeated :nearby_pokemons, :message, 11, "POGOProtos.Map.Pokemon.NearbyPokemon"
end
add_message "POGOProtos.Map.SpawnPoint" do
optional :latitude, :double, 2
optional :longitude, :double, 3
end
add_enum "POGOProtos.Map.MapObjectsStatus" do
value :UNSET_STATUS, 0
value :SUCCESS, 1
value :LOCATION_UNSET, 2
end
end
module POGOProtos
module Map
MapCell = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Map.MapCell").msgclass
SpawnPoint = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Map.SpawnPoint").msgclass
MapObjectsStatus = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Map.MapObjectsStatus").enummodule
end
end