From c14ca4588277d664642b9bee3a55b570a0674f19 Mon Sep 17 00:00:00 2001 From: goedzo Date: Tue, 1 Aug 2017 11:17:12 +0200 Subject: [PATCH] 0.69.1 update --- .../pogoprotos/data/raid/event_info_pb2.py | 83 ++++++++++ .../data/redeem_passcode_reward_pb2.py | 17 +- .../protos/pogoprotos/enums/badge_type_pb2.py | 9 +- .../inventory/exclusive_ticket_info_pb2.py | 23 +-- .../messages/get_gym_details_message_pb2.py | 104 ++++++++++++ .../use_item_move_reroll_message_pb2.py | 79 +++++++++ .../use_item_rare_candy_message_pb2.py | 81 ++++++++++ .../responses/fort_details_response_pb2.py | 12 +- .../responses/get_gym_details_response_pb2.py | 152 ++++++++++++++++++ .../gym_feed_pokemon_response_pb2.py | 16 +- .../responses/gym_get_info_response_pb2.py | 16 +- ...list_avatar_customizations_response_pb2.py | 6 +- .../use_item_move_reroll_response_pb2.py | 128 +++++++++++++++ .../use_item_rare_candy_response_pb2.py | 127 +++++++++++++++ .../settings/master/badge_settings_pb2.py | 11 +- .../master/item/food_attributes_pb2.py | 11 +- setup.py | 2 +- 17 files changed, 826 insertions(+), 51 deletions(-) create mode 100644 pgoapi/protos/pogoprotos/data/raid/event_info_pb2.py create mode 100644 pgoapi/protos/pogoprotos/networking/requests/messages/get_gym_details_message_pb2.py create mode 100644 pgoapi/protos/pogoprotos/networking/requests/messages/use_item_move_reroll_message_pb2.py create mode 100644 pgoapi/protos/pogoprotos/networking/requests/messages/use_item_rare_candy_message_pb2.py create mode 100644 pgoapi/protos/pogoprotos/networking/responses/get_gym_details_response_pb2.py create mode 100644 pgoapi/protos/pogoprotos/networking/responses/use_item_move_reroll_response_pb2.py create mode 100644 pgoapi/protos/pogoprotos/networking/responses/use_item_rare_candy_response_pb2.py diff --git a/pgoapi/protos/pogoprotos/data/raid/event_info_pb2.py b/pgoapi/protos/pogoprotos/data/raid/event_info_pb2.py new file mode 100644 index 00000000..2432e417 --- /dev/null +++ b/pgoapi/protos/pogoprotos/data/raid/event_info_pb2.py @@ -0,0 +1,83 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: pogoprotos/data/raid/event_info.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +from google.protobuf import descriptor_pb2 +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='pogoprotos/data/raid/event_info.proto', + package='pogoprotos.data.raid', + syntax='proto3', + serialized_pb=_b('\n%pogoprotos/data/raid/event_info.proto\x12\x14pogoprotos.data.raid\"B\n\tEventInfo\x12\x11\n\timage_url\x18\x01 \x01(\t\x12\x10\n\x08icon_url\x18\x02 \x01(\t\x12\x10\n\x08name_key\x18\x03 \x01(\tb\x06proto3') +) + + + + +_EVENTINFO = _descriptor.Descriptor( + name='EventInfo', + full_name='pogoprotos.data.raid.EventInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='image_url', full_name='pogoprotos.data.raid.EventInfo.image_url', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='icon_url', full_name='pogoprotos.data.raid.EventInfo.icon_url', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='name_key', full_name='pogoprotos.data.raid.EventInfo.name_key', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=63, + serialized_end=129, +) + +DESCRIPTOR.message_types_by_name['EventInfo'] = _EVENTINFO +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +EventInfo = _reflection.GeneratedProtocolMessageType('EventInfo', (_message.Message,), dict( + DESCRIPTOR = _EVENTINFO, + __module__ = 'pogoprotos.data.raid.event_info_pb2' + # @@protoc_insertion_point(class_scope:pogoprotos.data.raid.EventInfo) + )) +_sym_db.RegisterMessage(EventInfo) + + +# @@protoc_insertion_point(module_scope) diff --git a/pgoapi/protos/pogoprotos/data/redeem_passcode_reward_pb2.py b/pgoapi/protos/pogoprotos/data/redeem_passcode_reward_pb2.py index 27c86c9a..155583c6 100644 --- a/pgoapi/protos/pogoprotos/data/redeem_passcode_reward_pb2.py +++ b/pgoapi/protos/pogoprotos/data/redeem_passcode_reward_pb2.py @@ -13,6 +13,7 @@ _sym_db = _symbol_database.Default() +from pogoprotos.enums import gym_badge_type_pb2 as pogoprotos_dot_enums_dot_gym__badge__type__pb2 from pogoprotos.data import pokemon_data_pb2 as pogoprotos_dot_data_dot_pokemon__data__pb2 from pogoprotos.data.redeem import poke_candy_pb2 as pogoprotos_dot_data_dot_redeem_dot_poke__candy__pb2 from pogoprotos.data.redeem import redeemed_avatar_item_pb2 as pogoprotos_dot_data_dot_redeem_dot_redeemed__avatar__item__pb2 @@ -23,9 +24,9 @@ name='pogoprotos/data/redeem_passcode_reward.proto', package='pogoprotos.data', syntax='proto3', - serialized_pb=_b('\n,pogoprotos/data/redeem_passcode_reward.proto\x12\x0fpogoprotos.data\x1a\"pogoprotos/data/pokemon_data.proto\x1a\'pogoprotos/data/redeem/poke_candy.proto\x1a\x31pogoprotos/data/redeem/redeemed_avatar_item.proto\x1a*pogoprotos/data/redeem/redeemed_item.proto\"\xcb\x02\n\x14RedeemPasscodeReward\x12\x33\n\x05items\x18\x01 \x03(\x0b\x32$.pogoprotos.data.redeem.RedeemedItem\x12@\n\x0c\x61vatar_items\x18\x02 \x03(\x0b\x32*.pogoprotos.data.redeem.RedeemedAvatarItem\x12\x31\n\x0b\x65gg_pokemon\x18\x03 \x03(\x0b\x32\x1c.pogoprotos.data.PokemonData\x12-\n\x07pokemon\x18\x04 \x03(\x0b\x32\x1c.pogoprotos.data.PokemonData\x12\x35\n\npoke_candy\x18\x05 \x03(\x0b\x32!.pogoprotos.data.redeem.PokeCandy\x12\x10\n\x08stardust\x18\x06 \x01(\x05\x12\x11\n\tpokecoins\x18\x07 \x01(\x05\x62\x06proto3') + serialized_pb=_b('\n,pogoprotos/data/redeem_passcode_reward.proto\x12\x0fpogoprotos.data\x1a%pogoprotos/enums/gym_badge_type.proto\x1a\"pogoprotos/data/pokemon_data.proto\x1a\'pogoprotos/data/redeem/poke_candy.proto\x1a\x31pogoprotos/data/redeem/redeemed_avatar_item.proto\x1a*pogoprotos/data/redeem/redeemed_item.proto\"\xfb\x02\n\x14RedeemPasscodeReward\x12\x33\n\x05items\x18\x01 \x03(\x0b\x32$.pogoprotos.data.redeem.RedeemedItem\x12@\n\x0c\x61vatar_items\x18\x02 \x03(\x0b\x32*.pogoprotos.data.redeem.RedeemedAvatarItem\x12\x31\n\x0b\x65gg_pokemon\x18\x03 \x03(\x0b\x32\x1c.pogoprotos.data.PokemonData\x12-\n\x07pokemon\x18\x04 \x03(\x0b\x32\x1c.pogoprotos.data.PokemonData\x12\x35\n\npoke_candy\x18\x05 \x03(\x0b\x32!.pogoprotos.data.redeem.PokeCandy\x12\x10\n\x08stardust\x18\x06 \x01(\x05\x12\x11\n\tpokecoins\x18\x07 \x01(\x05\x12.\n\x06\x62\x61\x64ges\x18\x08 \x03(\x0e\x32\x1e.pogoprotos.enums.GymBadgeTypeb\x06proto3') , - dependencies=[pogoprotos_dot_data_dot_pokemon__data__pb2.DESCRIPTOR,pogoprotos_dot_data_dot_redeem_dot_poke__candy__pb2.DESCRIPTOR,pogoprotos_dot_data_dot_redeem_dot_redeemed__avatar__item__pb2.DESCRIPTOR,pogoprotos_dot_data_dot_redeem_dot_redeemed__item__pb2.DESCRIPTOR,]) + dependencies=[pogoprotos_dot_enums_dot_gym__badge__type__pb2.DESCRIPTOR,pogoprotos_dot_data_dot_pokemon__data__pb2.DESCRIPTOR,pogoprotos_dot_data_dot_redeem_dot_poke__candy__pb2.DESCRIPTOR,pogoprotos_dot_data_dot_redeem_dot_redeemed__avatar__item__pb2.DESCRIPTOR,pogoprotos_dot_data_dot_redeem_dot_redeemed__item__pb2.DESCRIPTOR,]) @@ -86,6 +87,13 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), + _descriptor.FieldDescriptor( + name='badges', full_name='pogoprotos.data.RedeemPasscodeReward.badges', index=7, + number=8, type=14, cpp_type=8, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), ], extensions=[ ], @@ -98,8 +106,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=238, - serialized_end=569, + serialized_start=277, + serialized_end=656, ) _REDEEMPASSCODEREWARD.fields_by_name['items'].message_type = pogoprotos_dot_data_dot_redeem_dot_redeemed__item__pb2._REDEEMEDITEM @@ -107,6 +115,7 @@ _REDEEMPASSCODEREWARD.fields_by_name['egg_pokemon'].message_type = pogoprotos_dot_data_dot_pokemon__data__pb2._POKEMONDATA _REDEEMPASSCODEREWARD.fields_by_name['pokemon'].message_type = pogoprotos_dot_data_dot_pokemon__data__pb2._POKEMONDATA _REDEEMPASSCODEREWARD.fields_by_name['poke_candy'].message_type = pogoprotos_dot_data_dot_redeem_dot_poke__candy__pb2._POKECANDY +_REDEEMPASSCODEREWARD.fields_by_name['badges'].enum_type = pogoprotos_dot_enums_dot_gym__badge__type__pb2._GYMBADGETYPE DESCRIPTOR.message_types_by_name['RedeemPasscodeReward'] = _REDEEMPASSCODEREWARD _sym_db.RegisterFileDescriptor(DESCRIPTOR) diff --git a/pgoapi/protos/pogoprotos/enums/badge_type_pb2.py b/pgoapi/protos/pogoprotos/enums/badge_type_pb2.py index dbea302f..97d7072e 100644 --- a/pgoapi/protos/pogoprotos/enums/badge_type_pb2.py +++ b/pgoapi/protos/pogoprotos/enums/badge_type_pb2.py @@ -20,7 +20,7 @@ name='pogoprotos/enums/badge_type.proto', package='pogoprotos.enums', syntax='proto3', - serialized_pb=_b('\n!pogoprotos/enums/badge_type.proto\x12\x10pogoprotos.enums*\x8f\t\n\tBadgeType\x12\x0f\n\x0b\x42\x41\x44GE_UNSET\x10\x00\x12\x13\n\x0f\x42\x41\x44GE_TRAVEL_KM\x10\x01\x12\x19\n\x15\x42\x41\x44GE_POKEDEX_ENTRIES\x10\x02\x12\x17\n\x13\x42\x41\x44GE_CAPTURE_TOTAL\x10\x03\x12\x17\n\x13\x42\x41\x44GE_DEFEATED_FORT\x10\x04\x12\x17\n\x13\x42\x41\x44GE_EVOLVED_TOTAL\x10\x05\x12\x17\n\x13\x42\x41\x44GE_HATCHED_TOTAL\x10\x06\x12\x1b\n\x17\x42\x41\x44GE_ENCOUNTERED_TOTAL\x10\x07\x12\x1b\n\x17\x42\x41\x44GE_POKESTOPS_VISITED\x10\x08\x12\x1a\n\x16\x42\x41\x44GE_UNIQUE_POKESTOPS\x10\t\x12\x19\n\x15\x42\x41\x44GE_POKEBALL_THROWN\x10\n\x12\x16\n\x12\x42\x41\x44GE_BIG_MAGIKARP\x10\x0b\x12\x18\n\x14\x42\x41\x44GE_DEPLOYED_TOTAL\x10\x0c\x12\x1b\n\x17\x42\x41\x44GE_BATTLE_ATTACK_WON\x10\r\x12\x1d\n\x19\x42\x41\x44GE_BATTLE_TRAINING_WON\x10\x0e\x12\x1b\n\x17\x42\x41\x44GE_BATTLE_DEFEND_WON\x10\x0f\x12\x19\n\x15\x42\x41\x44GE_PRESTIGE_RAISED\x10\x10\x12\x1a\n\x16\x42\x41\x44GE_PRESTIGE_DROPPED\x10\x11\x12\x15\n\x11\x42\x41\x44GE_TYPE_NORMAL\x10\x12\x12\x17\n\x13\x42\x41\x44GE_TYPE_FIGHTING\x10\x13\x12\x15\n\x11\x42\x41\x44GE_TYPE_FLYING\x10\x14\x12\x15\n\x11\x42\x41\x44GE_TYPE_POISON\x10\x15\x12\x15\n\x11\x42\x41\x44GE_TYPE_GROUND\x10\x16\x12\x13\n\x0f\x42\x41\x44GE_TYPE_ROCK\x10\x17\x12\x12\n\x0e\x42\x41\x44GE_TYPE_BUG\x10\x18\x12\x14\n\x10\x42\x41\x44GE_TYPE_GHOST\x10\x19\x12\x14\n\x10\x42\x41\x44GE_TYPE_STEEL\x10\x1a\x12\x13\n\x0f\x42\x41\x44GE_TYPE_FIRE\x10\x1b\x12\x14\n\x10\x42\x41\x44GE_TYPE_WATER\x10\x1c\x12\x14\n\x10\x42\x41\x44GE_TYPE_GRASS\x10\x1d\x12\x17\n\x13\x42\x41\x44GE_TYPE_ELECTRIC\x10\x1e\x12\x16\n\x12\x42\x41\x44GE_TYPE_PSYCHIC\x10\x1f\x12\x12\n\x0e\x42\x41\x44GE_TYPE_ICE\x10 \x12\x15\n\x11\x42\x41\x44GE_TYPE_DRAGON\x10!\x12\x13\n\x0f\x42\x41\x44GE_TYPE_DARK\x10\"\x12\x14\n\x10\x42\x41\x44GE_TYPE_FAIRY\x10#\x12\x17\n\x13\x42\x41\x44GE_SMALL_RATTATA\x10$\x12\x11\n\rBADGE_PIKACHU\x10%\x12\x0f\n\x0b\x42\x41\x44GE_UNOWN\x10&\x12\x1e\n\x1a\x42\x41\x44GE_POKEDEX_ENTRIES_GEN2\x10\'\x12\x19\n\x15\x42\x41\x44GE_RAID_BATTLE_WON\x10(\x12\x1e\n\x1a\x42\x41\x44GE_LEGENDARY_BATTLE_WON\x10)\x12\x15\n\x11\x42\x41\x44GE_BERRIES_FED\x10*\x12\x18\n\x14\x42\x41\x44GE_HOURS_DEFENDED\x10+\x12\x16\n\x12\x42\x41\x44GE_PLACE_HOLDER\x10,\x12\x14\n\x0f\x42\x41\x44GE_EVENT_MIN\x10\xd0\x0f\x12!\n\x1c\x42\x41\x44GE_CHICAGO_FEST_JULY_2017\x10\xd1\x0f\x62\x06proto3') + serialized_pb=_b('\n!pogoprotos/enums/badge_type.proto\x12\x10pogoprotos.enums*\xba\t\n\tBadgeType\x12\x0f\n\x0b\x42\x41\x44GE_UNSET\x10\x00\x12\x13\n\x0f\x42\x41\x44GE_TRAVEL_KM\x10\x01\x12\x19\n\x15\x42\x41\x44GE_POKEDEX_ENTRIES\x10\x02\x12\x17\n\x13\x42\x41\x44GE_CAPTURE_TOTAL\x10\x03\x12\x17\n\x13\x42\x41\x44GE_DEFEATED_FORT\x10\x04\x12\x17\n\x13\x42\x41\x44GE_EVOLVED_TOTAL\x10\x05\x12\x17\n\x13\x42\x41\x44GE_HATCHED_TOTAL\x10\x06\x12\x1b\n\x17\x42\x41\x44GE_ENCOUNTERED_TOTAL\x10\x07\x12\x1b\n\x17\x42\x41\x44GE_POKESTOPS_VISITED\x10\x08\x12\x1a\n\x16\x42\x41\x44GE_UNIQUE_POKESTOPS\x10\t\x12\x19\n\x15\x42\x41\x44GE_POKEBALL_THROWN\x10\n\x12\x16\n\x12\x42\x41\x44GE_BIG_MAGIKARP\x10\x0b\x12\x18\n\x14\x42\x41\x44GE_DEPLOYED_TOTAL\x10\x0c\x12\x1b\n\x17\x42\x41\x44GE_BATTLE_ATTACK_WON\x10\r\x12\x1d\n\x19\x42\x41\x44GE_BATTLE_TRAINING_WON\x10\x0e\x12\x1b\n\x17\x42\x41\x44GE_BATTLE_DEFEND_WON\x10\x0f\x12\x19\n\x15\x42\x41\x44GE_PRESTIGE_RAISED\x10\x10\x12\x1a\n\x16\x42\x41\x44GE_PRESTIGE_DROPPED\x10\x11\x12\x15\n\x11\x42\x41\x44GE_TYPE_NORMAL\x10\x12\x12\x17\n\x13\x42\x41\x44GE_TYPE_FIGHTING\x10\x13\x12\x15\n\x11\x42\x41\x44GE_TYPE_FLYING\x10\x14\x12\x15\n\x11\x42\x41\x44GE_TYPE_POISON\x10\x15\x12\x15\n\x11\x42\x41\x44GE_TYPE_GROUND\x10\x16\x12\x13\n\x0f\x42\x41\x44GE_TYPE_ROCK\x10\x17\x12\x12\n\x0e\x42\x41\x44GE_TYPE_BUG\x10\x18\x12\x14\n\x10\x42\x41\x44GE_TYPE_GHOST\x10\x19\x12\x14\n\x10\x42\x41\x44GE_TYPE_STEEL\x10\x1a\x12\x13\n\x0f\x42\x41\x44GE_TYPE_FIRE\x10\x1b\x12\x14\n\x10\x42\x41\x44GE_TYPE_WATER\x10\x1c\x12\x14\n\x10\x42\x41\x44GE_TYPE_GRASS\x10\x1d\x12\x17\n\x13\x42\x41\x44GE_TYPE_ELECTRIC\x10\x1e\x12\x16\n\x12\x42\x41\x44GE_TYPE_PSYCHIC\x10\x1f\x12\x12\n\x0e\x42\x41\x44GE_TYPE_ICE\x10 \x12\x15\n\x11\x42\x41\x44GE_TYPE_DRAGON\x10!\x12\x13\n\x0f\x42\x41\x44GE_TYPE_DARK\x10\"\x12\x14\n\x10\x42\x41\x44GE_TYPE_FAIRY\x10#\x12\x17\n\x13\x42\x41\x44GE_SMALL_RATTATA\x10$\x12\x11\n\rBADGE_PIKACHU\x10%\x12\x0f\n\x0b\x42\x41\x44GE_UNOWN\x10&\x12\x1e\n\x1a\x42\x41\x44GE_POKEDEX_ENTRIES_GEN2\x10\'\x12\x19\n\x15\x42\x41\x44GE_RAID_BATTLE_WON\x10(\x12\x1e\n\x1a\x42\x41\x44GE_LEGENDARY_BATTLE_WON\x10)\x12\x15\n\x11\x42\x41\x44GE_BERRIES_FED\x10*\x12\x18\n\x14\x42\x41\x44GE_HOURS_DEFENDED\x10+\x12\x16\n\x12\x42\x41\x44GE_PLACE_HOLDER\x10,\x12\x14\n\x0f\x42\x41\x44GE_EVENT_MIN\x10\xd0\x0f\x12!\n\x1c\x42\x41\x44GE_CHICAGO_FEST_JULY_2017\x10\xd1\x0f\x12)\n$BADGE_PIKACHU_OUTBREAK_YOKOHAMA_2017\x10\xd2\x0f\x62\x06proto3') ) _BADGETYPE = _descriptor.EnumDescriptor( @@ -217,11 +217,15 @@ name='BADGE_CHICAGO_FEST_JULY_2017', index=46, number=2001, options=None, type=None), + _descriptor.EnumValueDescriptor( + name='BADGE_PIKACHU_OUTBREAK_YOKOHAMA_2017', index=47, number=2002, + options=None, + type=None), ], containing_type=None, options=None, serialized_start=56, - serialized_end=1223, + serialized_end=1266, ) _sym_db.RegisterEnumDescriptor(_BADGETYPE) @@ -273,6 +277,7 @@ BADGE_PLACE_HOLDER = 44 BADGE_EVENT_MIN = 2000 BADGE_CHICAGO_FEST_JULY_2017 = 2001 +BADGE_PIKACHU_OUTBREAK_YOKOHAMA_2017 = 2002 DESCRIPTOR.enum_types_by_name['BadgeType'] = _BADGETYPE diff --git a/pgoapi/protos/pogoprotos/inventory/exclusive_ticket_info_pb2.py b/pgoapi/protos/pogoprotos/inventory/exclusive_ticket_info_pb2.py index bb4c9859..d3df00d2 100644 --- a/pgoapi/protos/pogoprotos/inventory/exclusive_ticket_info_pb2.py +++ b/pgoapi/protos/pogoprotos/inventory/exclusive_ticket_info_pb2.py @@ -19,7 +19,7 @@ name='pogoprotos/inventory/exclusive_ticket_info.proto', package='pogoprotos.inventory', syntax='proto3', - serialized_pb=_b('\n0pogoprotos/inventory/exclusive_ticket_info.proto\x12\x14pogoprotos.inventory\"\xc4\x01\n\x13\x45xclusiveTicketInfo\x12\x11\n\traid_seed\x18\x01 \x01(\x03\x12\x0f\n\x07\x66ort_id\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x15\n\rstart_time_ms\x18\x04 \x01(\x03\x12\x13\n\x0b\x65nd_time_ms\x18\x05 \x01(\x03\x12\x11\n\timage_url\x18\x06 \x01(\t\x12\x10\n\x08latitude\x18\x07 \x01(\x01\x12\x11\n\tlongitude\x18\x08 \x01(\x01\x12\x10\n\x08gym_name\x18\t \x01(\tb\x06proto3') + serialized_pb=_b('\n0pogoprotos/inventory/exclusive_ticket_info.proto\x12\x14pogoprotos.inventory\"\xaf\x01\n\x13\x45xclusiveTicketInfo\x12\x11\n\traid_seed\x18\x01 \x01(\x03\x12\x0f\n\x07\x66ort_id\x18\x02 \x01(\t\x12\x15\n\rstart_time_ms\x18\x04 \x01(\x03\x12\x13\n\x0b\x65nd_time_ms\x18\x05 \x01(\x03\x12\x11\n\timage_url\x18\x06 \x01(\t\x12\x10\n\x08latitude\x18\x07 \x01(\x01\x12\x11\n\tlongitude\x18\x08 \x01(\x01\x12\x10\n\x08gym_name\x18\t \x01(\tb\x06proto3') ) @@ -47,49 +47,42 @@ is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( - name='description', full_name='pogoprotos.inventory.ExclusiveTicketInfo.description', index=2, - number=3, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None), - _descriptor.FieldDescriptor( - name='start_time_ms', full_name='pogoprotos.inventory.ExclusiveTicketInfo.start_time_ms', index=3, + name='start_time_ms', full_name='pogoprotos.inventory.ExclusiveTicketInfo.start_time_ms', index=2, number=4, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( - name='end_time_ms', full_name='pogoprotos.inventory.ExclusiveTicketInfo.end_time_ms', index=4, + name='end_time_ms', full_name='pogoprotos.inventory.ExclusiveTicketInfo.end_time_ms', index=3, number=5, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( - name='image_url', full_name='pogoprotos.inventory.ExclusiveTicketInfo.image_url', index=5, + name='image_url', full_name='pogoprotos.inventory.ExclusiveTicketInfo.image_url', index=4, number=6, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( - name='latitude', full_name='pogoprotos.inventory.ExclusiveTicketInfo.latitude', index=6, + name='latitude', full_name='pogoprotos.inventory.ExclusiveTicketInfo.latitude', index=5, number=7, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( - name='longitude', full_name='pogoprotos.inventory.ExclusiveTicketInfo.longitude', index=7, + name='longitude', full_name='pogoprotos.inventory.ExclusiveTicketInfo.longitude', index=6, number=8, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( - name='gym_name', full_name='pogoprotos.inventory.ExclusiveTicketInfo.gym_name', index=8, + name='gym_name', full_name='pogoprotos.inventory.ExclusiveTicketInfo.gym_name', index=7, number=9, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -108,7 +101,7 @@ oneofs=[ ], serialized_start=75, - serialized_end=271, + serialized_end=250, ) DESCRIPTOR.message_types_by_name['ExclusiveTicketInfo'] = _EXCLUSIVETICKETINFO diff --git a/pgoapi/protos/pogoprotos/networking/requests/messages/get_gym_details_message_pb2.py b/pgoapi/protos/pogoprotos/networking/requests/messages/get_gym_details_message_pb2.py new file mode 100644 index 00000000..57ec5f39 --- /dev/null +++ b/pgoapi/protos/pogoprotos/networking/requests/messages/get_gym_details_message_pb2.py @@ -0,0 +1,104 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: pogoprotos/networking/requests/messages/get_gym_details_message.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +from google.protobuf import descriptor_pb2 +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='pogoprotos/networking/requests/messages/get_gym_details_message.proto', + package='pogoprotos.networking.requests.messages', + syntax='proto3', + serialized_pb=_b('\nEpogoprotos/networking/requests/messages/get_gym_details_message.proto\x12\'pogoprotos.networking.requests.messages\"\x9e\x01\n\x14GetGymDetailsMessage\x12\x0e\n\x06gym_id\x18\x01 \x01(\t\x12\x17\n\x0fplayer_latitude\x18\x02 \x01(\x01\x12\x18\n\x10player_longitude\x18\x03 \x01(\x01\x12\x14\n\x0cgym_latitude\x18\x04 \x01(\x01\x12\x15\n\rgym_longitude\x18\x05 \x01(\x01\x12\x16\n\x0e\x63lient_version\x18\x06 \x01(\tb\x06proto3') +) + + + + +_GETGYMDETAILSMESSAGE = _descriptor.Descriptor( + name='GetGymDetailsMessage', + full_name='pogoprotos.networking.requests.messages.GetGymDetailsMessage', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='gym_id', full_name='pogoprotos.networking.requests.messages.GetGymDetailsMessage.gym_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='player_latitude', full_name='pogoprotos.networking.requests.messages.GetGymDetailsMessage.player_latitude', index=1, + number=2, type=1, cpp_type=5, label=1, + has_default_value=False, default_value=float(0), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='player_longitude', full_name='pogoprotos.networking.requests.messages.GetGymDetailsMessage.player_longitude', index=2, + number=3, type=1, cpp_type=5, label=1, + has_default_value=False, default_value=float(0), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='gym_latitude', full_name='pogoprotos.networking.requests.messages.GetGymDetailsMessage.gym_latitude', index=3, + number=4, type=1, cpp_type=5, label=1, + has_default_value=False, default_value=float(0), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='gym_longitude', full_name='pogoprotos.networking.requests.messages.GetGymDetailsMessage.gym_longitude', index=4, + number=5, type=1, cpp_type=5, label=1, + has_default_value=False, default_value=float(0), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='client_version', full_name='pogoprotos.networking.requests.messages.GetGymDetailsMessage.client_version', index=5, + number=6, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=115, + serialized_end=273, +) + +DESCRIPTOR.message_types_by_name['GetGymDetailsMessage'] = _GETGYMDETAILSMESSAGE +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetGymDetailsMessage = _reflection.GeneratedProtocolMessageType('GetGymDetailsMessage', (_message.Message,), dict( + DESCRIPTOR = _GETGYMDETAILSMESSAGE, + __module__ = 'pogoprotos.networking.requests.messages.get_gym_details_message_pb2' + # @@protoc_insertion_point(class_scope:pogoprotos.networking.requests.messages.GetGymDetailsMessage) + )) +_sym_db.RegisterMessage(GetGymDetailsMessage) + + +# @@protoc_insertion_point(module_scope) diff --git a/pgoapi/protos/pogoprotos/networking/requests/messages/use_item_move_reroll_message_pb2.py b/pgoapi/protos/pogoprotos/networking/requests/messages/use_item_move_reroll_message_pb2.py new file mode 100644 index 00000000..825aefa9 --- /dev/null +++ b/pgoapi/protos/pogoprotos/networking/requests/messages/use_item_move_reroll_message_pb2.py @@ -0,0 +1,79 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: pogoprotos/networking/requests/messages/use_item_move_reroll_message.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +from google.protobuf import descriptor_pb2 +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from pogoprotos.inventory.item import item_id_pb2 as pogoprotos_dot_inventory_dot_item_dot_item__id__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='pogoprotos/networking/requests/messages/use_item_move_reroll_message.proto', + package='pogoprotos.networking.requests.messages', + syntax='proto3', + serialized_pb=_b('\nJpogoprotos/networking/requests/messages/use_item_move_reroll_message.proto\x12\'pogoprotos.networking.requests.messages\x1a\'pogoprotos/inventory/item/item_id.proto\"b\n\x18UseItemMoveRerollMessage\x12\x32\n\x07item_id\x18\x01 \x01(\x0e\x32!.pogoprotos.inventory.item.ItemId\x12\x12\n\npokemon_id\x18\x02 \x01(\x06\x62\x06proto3') + , + dependencies=[pogoprotos_dot_inventory_dot_item_dot_item__id__pb2.DESCRIPTOR,]) + + + + +_USEITEMMOVEREROLLMESSAGE = _descriptor.Descriptor( + name='UseItemMoveRerollMessage', + full_name='pogoprotos.networking.requests.messages.UseItemMoveRerollMessage', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='item_id', full_name='pogoprotos.networking.requests.messages.UseItemMoveRerollMessage.item_id', index=0, + number=1, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='pokemon_id', full_name='pogoprotos.networking.requests.messages.UseItemMoveRerollMessage.pokemon_id', index=1, + number=2, type=6, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=160, + serialized_end=258, +) + +_USEITEMMOVEREROLLMESSAGE.fields_by_name['item_id'].enum_type = pogoprotos_dot_inventory_dot_item_dot_item__id__pb2._ITEMID +DESCRIPTOR.message_types_by_name['UseItemMoveRerollMessage'] = _USEITEMMOVEREROLLMESSAGE +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +UseItemMoveRerollMessage = _reflection.GeneratedProtocolMessageType('UseItemMoveRerollMessage', (_message.Message,), dict( + DESCRIPTOR = _USEITEMMOVEREROLLMESSAGE, + __module__ = 'pogoprotos.networking.requests.messages.use_item_move_reroll_message_pb2' + # @@protoc_insertion_point(class_scope:pogoprotos.networking.requests.messages.UseItemMoveRerollMessage) + )) +_sym_db.RegisterMessage(UseItemMoveRerollMessage) + + +# @@protoc_insertion_point(module_scope) diff --git a/pgoapi/protos/pogoprotos/networking/requests/messages/use_item_rare_candy_message_pb2.py b/pgoapi/protos/pogoprotos/networking/requests/messages/use_item_rare_candy_message_pb2.py new file mode 100644 index 00000000..a6d3fb45 --- /dev/null +++ b/pgoapi/protos/pogoprotos/networking/requests/messages/use_item_rare_candy_message_pb2.py @@ -0,0 +1,81 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: pogoprotos/networking/requests/messages/use_item_rare_candy_message.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +from google.protobuf import descriptor_pb2 +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from pogoprotos.inventory.item import item_id_pb2 as pogoprotos_dot_inventory_dot_item_dot_item__id__pb2 +from pogoprotos.enums import pokemon_id_pb2 as pogoprotos_dot_enums_dot_pokemon__id__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='pogoprotos/networking/requests/messages/use_item_rare_candy_message.proto', + package='pogoprotos.networking.requests.messages', + syntax='proto3', + serialized_pb=_b('\nIpogoprotos/networking/requests/messages/use_item_rare_candy_message.proto\x12\'pogoprotos.networking.requests.messages\x1a\'pogoprotos/inventory/item/item_id.proto\x1a!pogoprotos/enums/pokemon_id.proto\"~\n\x17UseItemRareCandyMessage\x12\x32\n\x07item_id\x18\x01 \x01(\x0e\x32!.pogoprotos.inventory.item.ItemId\x12/\n\npokemon_id\x18\x02 \x01(\x0e\x32\x1b.pogoprotos.enums.PokemonIdb\x06proto3') + , + dependencies=[pogoprotos_dot_inventory_dot_item_dot_item__id__pb2.DESCRIPTOR,pogoprotos_dot_enums_dot_pokemon__id__pb2.DESCRIPTOR,]) + + + + +_USEITEMRARECANDYMESSAGE = _descriptor.Descriptor( + name='UseItemRareCandyMessage', + full_name='pogoprotos.networking.requests.messages.UseItemRareCandyMessage', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='item_id', full_name='pogoprotos.networking.requests.messages.UseItemRareCandyMessage.item_id', index=0, + number=1, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='pokemon_id', full_name='pogoprotos.networking.requests.messages.UseItemRareCandyMessage.pokemon_id', index=1, + number=2, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=194, + serialized_end=320, +) + +_USEITEMRARECANDYMESSAGE.fields_by_name['item_id'].enum_type = pogoprotos_dot_inventory_dot_item_dot_item__id__pb2._ITEMID +_USEITEMRARECANDYMESSAGE.fields_by_name['pokemon_id'].enum_type = pogoprotos_dot_enums_dot_pokemon__id__pb2._POKEMONID +DESCRIPTOR.message_types_by_name['UseItemRareCandyMessage'] = _USEITEMRARECANDYMESSAGE +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +UseItemRareCandyMessage = _reflection.GeneratedProtocolMessageType('UseItemRareCandyMessage', (_message.Message,), dict( + DESCRIPTOR = _USEITEMRARECANDYMESSAGE, + __module__ = 'pogoprotos.networking.requests.messages.use_item_rare_candy_message_pb2' + # @@protoc_insertion_point(class_scope:pogoprotos.networking.requests.messages.UseItemRareCandyMessage) + )) +_sym_db.RegisterMessage(UseItemRareCandyMessage) + + +# @@protoc_insertion_point(module_scope) diff --git a/pgoapi/protos/pogoprotos/networking/responses/fort_details_response_pb2.py b/pgoapi/protos/pogoprotos/networking/responses/fort_details_response_pb2.py index 338fc956..46c6f82f 100644 --- a/pgoapi/protos/pogoprotos/networking/responses/fort_details_response_pb2.py +++ b/pgoapi/protos/pogoprotos/networking/responses/fort_details_response_pb2.py @@ -14,7 +14,7 @@ from pogoprotos.data import pokemon_data_pb2 as pogoprotos_dot_data_dot_pokemon__data__pb2 -from pogoprotos.data import event_info_pb2 as pogoprotos_dot_data_dot_event__info__pb2 +from pogoprotos.data.raid import event_info_pb2 as pogoprotos_dot_data_dot_raid_dot_event__info__pb2 from pogoprotos.enums import team_color_pb2 as pogoprotos_dot_enums_dot_team__color__pb2 from pogoprotos.map.fort import fort_type_pb2 as pogoprotos_dot_map_dot_fort_dot_fort__type__pb2 from pogoprotos.map.fort import fort_modifier_pb2 as pogoprotos_dot_map_dot_fort_dot_fort__modifier__pb2 @@ -24,9 +24,9 @@ name='pogoprotos/networking/responses/fort_details_response.proto', package='pogoprotos.networking.responses', syntax='proto3', - serialized_pb=_b('\n;pogoprotos/networking/responses/fort_details_response.proto\x12\x1fpogoprotos.networking.responses\x1a\"pogoprotos/data/pokemon_data.proto\x1a pogoprotos/data/event_info.proto\x1a!pogoprotos/enums/team_color.proto\x1a#pogoprotos/map/fort/fort_type.proto\x1a\'pogoprotos/map/fort/fort_modifier.proto\"\xdb\x03\n\x13\x46ortDetailsResponse\x12\x0f\n\x07\x66ort_id\x18\x01 \x01(\t\x12/\n\nteam_color\x18\x02 \x01(\x0e\x32\x1b.pogoprotos.enums.TeamColor\x12\x32\n\x0cpokemon_data\x18\x03 \x01(\x0b\x32\x1c.pogoprotos.data.PokemonData\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x12\n\nimage_urls\x18\x05 \x03(\t\x12\n\n\x02\x66p\x18\x06 \x01(\x05\x12\x0f\n\x07stamina\x18\x07 \x01(\x05\x12\x13\n\x0bmax_stamina\x18\x08 \x01(\x05\x12+\n\x04type\x18\t \x01(\x0e\x32\x1d.pogoprotos.map.fort.FortType\x12\x10\n\x08latitude\x18\n \x01(\x01\x12\x11\n\tlongitude\x18\x0b \x01(\x01\x12\x13\n\x0b\x64\x65scription\x18\x0c \x01(\t\x12\x34\n\tmodifiers\x18\r \x03(\x0b\x32!.pogoprotos.map.fort.FortModifier\x12\x12\n\nclose_soon\x18\x0e \x01(\x08\x12\x19\n\x11\x63heckin_image_url\x18\x0f \x01(\t\x12.\n\nevent_info\x18\x10 \x01(\x0b\x32\x1a.pogoprotos.data.EventInfob\x06proto3') + serialized_pb=_b('\n;pogoprotos/networking/responses/fort_details_response.proto\x12\x1fpogoprotos.networking.responses\x1a\"pogoprotos/data/pokemon_data.proto\x1a%pogoprotos/data/raid/event_info.proto\x1a!pogoprotos/enums/team_color.proto\x1a#pogoprotos/map/fort/fort_type.proto\x1a\'pogoprotos/map/fort/fort_modifier.proto\"\xe0\x03\n\x13\x46ortDetailsResponse\x12\x0f\n\x07\x66ort_id\x18\x01 \x01(\t\x12/\n\nteam_color\x18\x02 \x01(\x0e\x32\x1b.pogoprotos.enums.TeamColor\x12\x32\n\x0cpokemon_data\x18\x03 \x01(\x0b\x32\x1c.pogoprotos.data.PokemonData\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x12\n\nimage_urls\x18\x05 \x03(\t\x12\n\n\x02\x66p\x18\x06 \x01(\x05\x12\x0f\n\x07stamina\x18\x07 \x01(\x05\x12\x13\n\x0bmax_stamina\x18\x08 \x01(\x05\x12+\n\x04type\x18\t \x01(\x0e\x32\x1d.pogoprotos.map.fort.FortType\x12\x10\n\x08latitude\x18\n \x01(\x01\x12\x11\n\tlongitude\x18\x0b \x01(\x01\x12\x13\n\x0b\x64\x65scription\x18\x0c \x01(\t\x12\x34\n\tmodifiers\x18\r \x03(\x0b\x32!.pogoprotos.map.fort.FortModifier\x12\x12\n\nclose_soon\x18\x0e \x01(\x08\x12\x19\n\x11\x63heckin_image_url\x18\x0f \x01(\t\x12\x33\n\nevent_info\x18\x10 \x01(\x0b\x32\x1f.pogoprotos.data.raid.EventInfob\x06proto3') , - dependencies=[pogoprotos_dot_data_dot_pokemon__data__pb2.DESCRIPTOR,pogoprotos_dot_data_dot_event__info__pb2.DESCRIPTOR,pogoprotos_dot_enums_dot_team__color__pb2.DESCRIPTOR,pogoprotos_dot_map_dot_fort_dot_fort__type__pb2.DESCRIPTOR,pogoprotos_dot_map_dot_fort_dot_fort__modifier__pb2.DESCRIPTOR,]) + dependencies=[pogoprotos_dot_data_dot_pokemon__data__pb2.DESCRIPTOR,pogoprotos_dot_data_dot_raid_dot_event__info__pb2.DESCRIPTOR,pogoprotos_dot_enums_dot_team__color__pb2.DESCRIPTOR,pogoprotos_dot_map_dot_fort_dot_fort__type__pb2.DESCRIPTOR,pogoprotos_dot_map_dot_fort_dot_fort__modifier__pb2.DESCRIPTOR,]) @@ -162,15 +162,15 @@ extension_ranges=[], oneofs=[ ], - serialized_start=280, - serialized_end=755, + serialized_start=285, + serialized_end=765, ) _FORTDETAILSRESPONSE.fields_by_name['team_color'].enum_type = pogoprotos_dot_enums_dot_team__color__pb2._TEAMCOLOR _FORTDETAILSRESPONSE.fields_by_name['pokemon_data'].message_type = pogoprotos_dot_data_dot_pokemon__data__pb2._POKEMONDATA _FORTDETAILSRESPONSE.fields_by_name['type'].enum_type = pogoprotos_dot_map_dot_fort_dot_fort__type__pb2._FORTTYPE _FORTDETAILSRESPONSE.fields_by_name['modifiers'].message_type = pogoprotos_dot_map_dot_fort_dot_fort__modifier__pb2._FORTMODIFIER -_FORTDETAILSRESPONSE.fields_by_name['event_info'].message_type = pogoprotos_dot_data_dot_event__info__pb2._EVENTINFO +_FORTDETAILSRESPONSE.fields_by_name['event_info'].message_type = pogoprotos_dot_data_dot_raid_dot_event__info__pb2._EVENTINFO DESCRIPTOR.message_types_by_name['FortDetailsResponse'] = _FORTDETAILSRESPONSE _sym_db.RegisterFileDescriptor(DESCRIPTOR) diff --git a/pgoapi/protos/pogoprotos/networking/responses/get_gym_details_response_pb2.py b/pgoapi/protos/pogoprotos/networking/responses/get_gym_details_response_pb2.py new file mode 100644 index 00000000..3f454b2d --- /dev/null +++ b/pgoapi/protos/pogoprotos/networking/responses/get_gym_details_response_pb2.py @@ -0,0 +1,152 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: pogoprotos/networking/responses/get_gym_details_response.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +from google.protobuf import descriptor_pb2 +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from pogoprotos.data.gym import gym_state_pb2 as pogoprotos_dot_data_dot_gym_dot_gym__state__pb2 +from pogoprotos.data.raid import event_info_pb2 as pogoprotos_dot_data_dot_raid_dot_event__info__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='pogoprotos/networking/responses/get_gym_details_response.proto', + package='pogoprotos.networking.responses', + syntax='proto3', + serialized_pb=_b('\n>pogoprotos/networking/responses/get_gym_details_response.proto\x12\x1fpogoprotos.networking.responses\x1a#pogoprotos/data/gym/gym_state.proto\x1a%pogoprotos/data/raid/event_info.proto\"\xea\x02\n\x15GetGymDetailsResponse\x12\x30\n\tgym_state\x18\x01 \x01(\x0b\x32\x1d.pogoprotos.data.gym.GymState\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04urls\x18\x03 \x03(\t\x12M\n\x06result\x18\x04 \x01(\x0e\x32=.pogoprotos.networking.responses.GetGymDetailsResponse.Result\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x15\n\rsecondary_url\x18\x06 \x03(\t\x12\x19\n\x11\x63heckin_image_url\x18\x07 \x01(\t\x12\x33\n\nevent_info\x18\x08 \x01(\x0b\x32\x1f.pogoprotos.data.raid.EventInfo\"8\n\x06Result\x12\t\n\x05UNSET\x10\x00\x12\x0b\n\x07SUCCESS\x10\x01\x12\x16\n\x12\x45RROR_NOT_IN_RANGE\x10\x02\x62\x06proto3') + , + dependencies=[pogoprotos_dot_data_dot_gym_dot_gym__state__pb2.DESCRIPTOR,pogoprotos_dot_data_dot_raid_dot_event__info__pb2.DESCRIPTOR,]) + + + +_GETGYMDETAILSRESPONSE_RESULT = _descriptor.EnumDescriptor( + name='Result', + full_name='pogoprotos.networking.responses.GetGymDetailsResponse.Result', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSET', index=0, number=0, + options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='SUCCESS', index=1, number=1, + options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='ERROR_NOT_IN_RANGE', index=2, number=2, + options=None, + type=None), + ], + containing_type=None, + options=None, + serialized_start=482, + serialized_end=538, +) +_sym_db.RegisterEnumDescriptor(_GETGYMDETAILSRESPONSE_RESULT) + + +_GETGYMDETAILSRESPONSE = _descriptor.Descriptor( + name='GetGymDetailsResponse', + full_name='pogoprotos.networking.responses.GetGymDetailsResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='gym_state', full_name='pogoprotos.networking.responses.GetGymDetailsResponse.gym_state', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='name', full_name='pogoprotos.networking.responses.GetGymDetailsResponse.name', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='urls', full_name='pogoprotos.networking.responses.GetGymDetailsResponse.urls', index=2, + number=3, type=9, cpp_type=9, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='result', full_name='pogoprotos.networking.responses.GetGymDetailsResponse.result', index=3, + number=4, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='description', full_name='pogoprotos.networking.responses.GetGymDetailsResponse.description', index=4, + number=5, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='secondary_url', full_name='pogoprotos.networking.responses.GetGymDetailsResponse.secondary_url', index=5, + number=6, type=9, cpp_type=9, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='checkin_image_url', full_name='pogoprotos.networking.responses.GetGymDetailsResponse.checkin_image_url', index=6, + number=7, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='event_info', full_name='pogoprotos.networking.responses.GetGymDetailsResponse.event_info', index=7, + number=8, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _GETGYMDETAILSRESPONSE_RESULT, + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=176, + serialized_end=538, +) + +_GETGYMDETAILSRESPONSE.fields_by_name['gym_state'].message_type = pogoprotos_dot_data_dot_gym_dot_gym__state__pb2._GYMSTATE +_GETGYMDETAILSRESPONSE.fields_by_name['result'].enum_type = _GETGYMDETAILSRESPONSE_RESULT +_GETGYMDETAILSRESPONSE.fields_by_name['event_info'].message_type = pogoprotos_dot_data_dot_raid_dot_event__info__pb2._EVENTINFO +_GETGYMDETAILSRESPONSE_RESULT.containing_type = _GETGYMDETAILSRESPONSE +DESCRIPTOR.message_types_by_name['GetGymDetailsResponse'] = _GETGYMDETAILSRESPONSE +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetGymDetailsResponse = _reflection.GeneratedProtocolMessageType('GetGymDetailsResponse', (_message.Message,), dict( + DESCRIPTOR = _GETGYMDETAILSRESPONSE, + __module__ = 'pogoprotos.networking.responses.get_gym_details_response_pb2' + # @@protoc_insertion_point(class_scope:pogoprotos.networking.responses.GetGymDetailsResponse) + )) +_sym_db.RegisterMessage(GetGymDetailsResponse) + + +# @@protoc_insertion_point(module_scope) diff --git a/pgoapi/protos/pogoprotos/networking/responses/gym_feed_pokemon_response_pb2.py b/pgoapi/protos/pogoprotos/networking/responses/gym_feed_pokemon_response_pb2.py index 3db365b0..f8372b19 100644 --- a/pgoapi/protos/pogoprotos/networking/responses/gym_feed_pokemon_response_pb2.py +++ b/pgoapi/protos/pogoprotos/networking/responses/gym_feed_pokemon_response_pb2.py @@ -22,7 +22,7 @@ name='pogoprotos/networking/responses/gym_feed_pokemon_response.proto', package='pogoprotos.networking.responses', syntax='proto3', - serialized_pb=_b('\n?pogoprotos/networking/responses/gym_feed_pokemon_response.proto\x12\x1fpogoprotos.networking.responses\x1a-pogoprotos/data/badge/awarded_gym_badge.proto\x1a\x32pogoprotos/data/gym/gym_status_and_defenders.proto\x1a(pogoprotos/enums/pokemon_family_id.proto\"\xcc\x05\n\x16GymFeedPokemonResponse\x12N\n\x06result\x18\x01 \x01(\x0e\x32>.pogoprotos.networking.responses.GymFeedPokemonResponse.Result\x12L\n\x18gym_status_and_defenders\x18\x02 \x01(\x0b\x32*.pogoprotos.data.gym.GymStatusAndDefenders\x12\x39\n\tgym_badge\x18\x03 \x01(\x0b\x32&.pogoprotos.data.badge.AwardedGymBadge\x12\x18\n\x10stardust_awarded\x18\x04 \x01(\x05\x12\x12\n\nxp_awarded\x18\x05 \x01(\x05\x12\x19\n\x11num_candy_awarded\x18\x06 \x01(\x05\x12:\n\x0f\x63\x61ndy_family_id\x18\x07 \x01(\x0e\x32!.pogoprotos.enums.PokemonFamilyId\x12\x19\n\x11\x63ooldown_complete\x18\x08 \x01(\x03\"\xb8\x02\n\x06Result\x12\t\n\x05UNSET\x10\x00\x12\x0b\n\x07SUCCESS\x10\x01\x12\x14\n\x10\x45RROR_CANNOT_USE\x10\x02\x12\x16\n\x12\x45RROR_NOT_IN_RANGE\x10\x03\x12\x1b\n\x17\x45RROR_POKEMON_NOT_THERE\x10\x04\x12\x16\n\x12\x45RROR_POKEMON_FULL\x10\x05\x12\x19\n\x15\x45RROR_NO_BERRIES_LEFT\x10\x06\x12\x14\n\x10\x45RROR_WRONG_TEAM\x10\x07\x12\x15\n\x11\x45RROR_WRONG_COUNT\x10\x08\x12\x12\n\x0e\x45RROR_TOO_FAST\x10\t\x12\x16\n\x12\x45RROR_TOO_FREQUENT\x10\n\x12\x12\n\x0e\x45RROR_GYM_BUSY\x10\x0b\x12\x15\n\x11\x45RROR_RAID_ACTIVE\x10\x0c\x12\x14\n\x10\x45RROR_GYM_CLOSED\x10\rb\x06proto3') + serialized_pb=_b('\n?pogoprotos/networking/responses/gym_feed_pokemon_response.proto\x12\x1fpogoprotos.networking.responses\x1a-pogoprotos/data/badge/awarded_gym_badge.proto\x1a\x32pogoprotos/data/gym/gym_status_and_defenders.proto\x1a(pogoprotos/enums/pokemon_family_id.proto\"\xd4\x05\n\x16GymFeedPokemonResponse\x12N\n\x06result\x18\x01 \x01(\x0e\x32>.pogoprotos.networking.responses.GymFeedPokemonResponse.Result\x12L\n\x18gym_status_and_defenders\x18\x02 \x01(\x0b\x32*.pogoprotos.data.gym.GymStatusAndDefenders\x12\x41\n\x11\x61warded_gym_badge\x18\x03 \x01(\x0b\x32&.pogoprotos.data.badge.AwardedGymBadge\x12\x18\n\x10stardust_awarded\x18\x04 \x01(\x05\x12\x12\n\nxp_awarded\x18\x05 \x01(\x05\x12\x19\n\x11num_candy_awarded\x18\x06 \x01(\x05\x12:\n\x0f\x66\x61mily_candy_id\x18\x07 \x01(\x0e\x32!.pogoprotos.enums.PokemonFamilyId\x12\x19\n\x11\x63ooldown_complete\x18\x08 \x01(\x03\"\xb8\x02\n\x06Result\x12\t\n\x05UNSET\x10\x00\x12\x0b\n\x07SUCCESS\x10\x01\x12\x14\n\x10\x45RROR_CANNOT_USE\x10\x02\x12\x16\n\x12\x45RROR_NOT_IN_RANGE\x10\x03\x12\x1b\n\x17\x45RROR_POKEMON_NOT_THERE\x10\x04\x12\x16\n\x12\x45RROR_POKEMON_FULL\x10\x05\x12\x19\n\x15\x45RROR_NO_BERRIES_LEFT\x10\x06\x12\x14\n\x10\x45RROR_WRONG_TEAM\x10\x07\x12\x15\n\x11\x45RROR_WRONG_COUNT\x10\x08\x12\x12\n\x0e\x45RROR_TOO_FAST\x10\t\x12\x16\n\x12\x45RROR_TOO_FREQUENT\x10\n\x12\x12\n\x0e\x45RROR_GYM_BUSY\x10\x0b\x12\x15\n\x11\x45RROR_RAID_ACTIVE\x10\x0c\x12\x14\n\x10\x45RROR_GYM_CLOSED\x10\rb\x06proto3') , dependencies=[pogoprotos_dot_data_dot_badge_dot_awarded__gym__badge__pb2.DESCRIPTOR,pogoprotos_dot_data_dot_gym_dot_gym__status__and__defenders__pb2.DESCRIPTOR,pogoprotos_dot_enums_dot_pokemon__family__id__pb2.DESCRIPTOR,]) @@ -93,8 +93,8 @@ ], containing_type=None, options=None, - serialized_start=646, - serialized_end=958, + serialized_start=654, + serialized_end=966, ) _sym_db.RegisterEnumDescriptor(_GYMFEEDPOKEMONRESPONSE_RESULT) @@ -121,7 +121,7 @@ is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( - name='gym_badge', full_name='pogoprotos.networking.responses.GymFeedPokemonResponse.gym_badge', index=2, + name='awarded_gym_badge', full_name='pogoprotos.networking.responses.GymFeedPokemonResponse.awarded_gym_badge', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -149,7 +149,7 @@ is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( - name='candy_family_id', full_name='pogoprotos.networking.responses.GymFeedPokemonResponse.candy_family_id', index=6, + name='family_candy_id', full_name='pogoprotos.networking.responses.GymFeedPokemonResponse.family_candy_id', index=6, number=7, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, @@ -176,13 +176,13 @@ oneofs=[ ], serialized_start=242, - serialized_end=958, + serialized_end=966, ) _GYMFEEDPOKEMONRESPONSE.fields_by_name['result'].enum_type = _GYMFEEDPOKEMONRESPONSE_RESULT _GYMFEEDPOKEMONRESPONSE.fields_by_name['gym_status_and_defenders'].message_type = pogoprotos_dot_data_dot_gym_dot_gym__status__and__defenders__pb2._GYMSTATUSANDDEFENDERS -_GYMFEEDPOKEMONRESPONSE.fields_by_name['gym_badge'].message_type = pogoprotos_dot_data_dot_badge_dot_awarded__gym__badge__pb2._AWARDEDGYMBADGE -_GYMFEEDPOKEMONRESPONSE.fields_by_name['candy_family_id'].enum_type = pogoprotos_dot_enums_dot_pokemon__family__id__pb2._POKEMONFAMILYID +_GYMFEEDPOKEMONRESPONSE.fields_by_name['awarded_gym_badge'].message_type = pogoprotos_dot_data_dot_badge_dot_awarded__gym__badge__pb2._AWARDEDGYMBADGE +_GYMFEEDPOKEMONRESPONSE.fields_by_name['family_candy_id'].enum_type = pogoprotos_dot_enums_dot_pokemon__family__id__pb2._POKEMONFAMILYID _GYMFEEDPOKEMONRESPONSE_RESULT.containing_type = _GYMFEEDPOKEMONRESPONSE DESCRIPTOR.message_types_by_name['GymFeedPokemonResponse'] = _GYMFEEDPOKEMONRESPONSE _sym_db.RegisterFileDescriptor(DESCRIPTOR) diff --git a/pgoapi/protos/pogoprotos/networking/responses/gym_get_info_response_pb2.py b/pgoapi/protos/pogoprotos/networking/responses/gym_get_info_response_pb2.py index ffc7c7e4..8d22b35c 100644 --- a/pgoapi/protos/pogoprotos/networking/responses/gym_get_info_response_pb2.py +++ b/pgoapi/protos/pogoprotos/networking/responses/gym_get_info_response_pb2.py @@ -15,16 +15,16 @@ from pogoprotos.data.gym import gym_status_and_defenders_pb2 as pogoprotos_dot_data_dot_gym_dot_gym__status__and__defenders__pb2 from pogoprotos.data.badge import awarded_gym_badge_pb2 as pogoprotos_dot_data_dot_badge_dot_awarded__gym__badge__pb2 -from pogoprotos.data import event_info_pb2 as pogoprotos_dot_data_dot_event__info__pb2 +from pogoprotos.data.raid import event_info_pb2 as pogoprotos_dot_data_dot_raid_dot_event__info__pb2 DESCRIPTOR = _descriptor.FileDescriptor( name='pogoprotos/networking/responses/gym_get_info_response.proto', package='pogoprotos.networking.responses', syntax='proto3', - serialized_pb=_b('\n;pogoprotos/networking/responses/gym_get_info_response.proto\x12\x1fpogoprotos.networking.responses\x1a\x32pogoprotos/data/gym/gym_status_and_defenders.proto\x1a-pogoprotos/data/badge/awarded_gym_badge.proto\x1a pogoprotos/data/event_info.proto\"\xd5\x03\n\x12GymGetInfoResponse\x12L\n\x18gym_status_and_defenders\x18\x01 \x01(\x0b\x32*.pogoprotos.data.gym.GymStatusAndDefenders\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0b\n\x03url\x18\x03 \x01(\t\x12J\n\x06result\x18\x04 \x01(\x0e\x32:.pogoprotos.networking.responses.GymGetInfoResponse.Result\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x15\n\rsecondary_url\x18\x06 \x01(\t\x12\x41\n\x11\x61warded_gym_badge\x18\x07 \x01(\x0b\x32&.pogoprotos.data.badge.AwardedGymBadge\x12\x19\n\x11\x63heckin_image_url\x18\x08 \x01(\t\x12.\n\nevent_info\x18\t \x01(\x0b\x32\x1a.pogoprotos.data.EventInfo\"P\n\x06Result\x12\t\n\x05UNSET\x10\x00\x12\x0b\n\x07SUCCESS\x10\x01\x12\x16\n\x12\x45RROR_NOT_IN_RANGE\x10\x02\x12\x16\n\x12\x45RROR_GYM_DISABLED\x10\x03\x62\x06proto3') + serialized_pb=_b('\n;pogoprotos/networking/responses/gym_get_info_response.proto\x12\x1fpogoprotos.networking.responses\x1a\x32pogoprotos/data/gym/gym_status_and_defenders.proto\x1a-pogoprotos/data/badge/awarded_gym_badge.proto\x1a%pogoprotos/data/raid/event_info.proto\"\xda\x03\n\x12GymGetInfoResponse\x12L\n\x18gym_status_and_defenders\x18\x01 \x01(\x0b\x32*.pogoprotos.data.gym.GymStatusAndDefenders\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0b\n\x03url\x18\x03 \x01(\t\x12J\n\x06result\x18\x04 \x01(\x0e\x32:.pogoprotos.networking.responses.GymGetInfoResponse.Result\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x15\n\rsecondary_url\x18\x06 \x01(\t\x12\x41\n\x11\x61warded_gym_badge\x18\x07 \x01(\x0b\x32&.pogoprotos.data.badge.AwardedGymBadge\x12\x19\n\x11\x63heckin_image_url\x18\x08 \x01(\t\x12\x33\n\nevent_info\x18\t \x01(\x0b\x32\x1f.pogoprotos.data.raid.EventInfo\"P\n\x06Result\x12\t\n\x05UNSET\x10\x00\x12\x0b\n\x07SUCCESS\x10\x01\x12\x16\n\x12\x45RROR_NOT_IN_RANGE\x10\x02\x12\x16\n\x12\x45RROR_GYM_DISABLED\x10\x03\x62\x06proto3') , - dependencies=[pogoprotos_dot_data_dot_gym_dot_gym__status__and__defenders__pb2.DESCRIPTOR,pogoprotos_dot_data_dot_badge_dot_awarded__gym__badge__pb2.DESCRIPTOR,pogoprotos_dot_data_dot_event__info__pb2.DESCRIPTOR,]) + dependencies=[pogoprotos_dot_data_dot_gym_dot_gym__status__and__defenders__pb2.DESCRIPTOR,pogoprotos_dot_data_dot_badge_dot_awarded__gym__badge__pb2.DESCRIPTOR,pogoprotos_dot_data_dot_raid_dot_event__info__pb2.DESCRIPTOR,]) @@ -53,8 +53,8 @@ ], containing_type=None, options=None, - serialized_start=619, - serialized_end=699, + serialized_start=629, + serialized_end=709, ) _sym_db.RegisterEnumDescriptor(_GYMGETINFORESPONSE_RESULT) @@ -142,14 +142,14 @@ extension_ranges=[], oneofs=[ ], - serialized_start=230, - serialized_end=699, + serialized_start=235, + serialized_end=709, ) _GYMGETINFORESPONSE.fields_by_name['gym_status_and_defenders'].message_type = pogoprotos_dot_data_dot_gym_dot_gym__status__and__defenders__pb2._GYMSTATUSANDDEFENDERS _GYMGETINFORESPONSE.fields_by_name['result'].enum_type = _GYMGETINFORESPONSE_RESULT _GYMGETINFORESPONSE.fields_by_name['awarded_gym_badge'].message_type = pogoprotos_dot_data_dot_badge_dot_awarded__gym__badge__pb2._AWARDEDGYMBADGE -_GYMGETINFORESPONSE.fields_by_name['event_info'].message_type = pogoprotos_dot_data_dot_event__info__pb2._EVENTINFO +_GYMGETINFORESPONSE.fields_by_name['event_info'].message_type = pogoprotos_dot_data_dot_raid_dot_event__info__pb2._EVENTINFO _GYMGETINFORESPONSE_RESULT.containing_type = _GYMGETINFORESPONSE DESCRIPTOR.message_types_by_name['GymGetInfoResponse'] = _GYMGETINFORESPONSE _sym_db.RegisterFileDescriptor(DESCRIPTOR) diff --git a/pgoapi/protos/pogoprotos/networking/responses/list_avatar_customizations_response_pb2.py b/pgoapi/protos/pogoprotos/networking/responses/list_avatar_customizations_response_pb2.py index 430894bf..3951030c 100644 --- a/pgoapi/protos/pogoprotos/networking/responses/list_avatar_customizations_response_pb2.py +++ b/pgoapi/protos/pogoprotos/networking/responses/list_avatar_customizations_response_pb2.py @@ -20,7 +20,7 @@ name='pogoprotos/networking/responses/list_avatar_customizations_response.proto', package='pogoprotos.networking.responses', syntax='proto3', - serialized_pb=_b('\nIpogoprotos/networking/responses/list_avatar_customizations_response.proto\x12\x1fpogoprotos.networking.responses\x1a\x31pogoprotos/data/avatar/avatar_customization.proto\"\xf7\x01\n ListAvatarCustomizationsResponse\x12X\n\x06result\x18\x01 \x01(\x0e\x32H.pogoprotos.networking.responses.ListAvatarCustomizationsResponse.Result\x12J\n\x15\x61vatar_customizations\x18\x02 \x01(\x0b\x32+.pogoprotos.data.avatar.AvatarCustomization\"-\n\x06Result\x12\t\n\x05UNSET\x10\x00\x12\x0b\n\x07SUCCESS\x10\x01\x12\x0b\n\x07\x46\x41ILURE\x10\x02\x62\x06proto3') + serialized_pb=_b('\nIpogoprotos/networking/responses/list_avatar_customizations_response.proto\x12\x1fpogoprotos.networking.responses\x1a\x31pogoprotos/data/avatar/avatar_customization.proto\"\xf7\x01\n ListAvatarCustomizationsResponse\x12X\n\x06result\x18\x01 \x01(\x0e\x32H.pogoprotos.networking.responses.ListAvatarCustomizationsResponse.Result\x12J\n\x15\x61vatar_customizations\x18\x02 \x03(\x0b\x32+.pogoprotos.data.avatar.AvatarCustomization\"-\n\x06Result\x12\t\n\x05UNSET\x10\x00\x12\x0b\n\x07SUCCESS\x10\x01\x12\x0b\n\x07\x46\x41ILURE\x10\x02\x62\x06proto3') , dependencies=[pogoprotos_dot_data_dot_avatar_dot_avatar__customization__pb2.DESCRIPTOR,]) @@ -69,8 +69,8 @@ options=None), _descriptor.FieldDescriptor( name='avatar_customizations', full_name='pogoprotos.networking.responses.ListAvatarCustomizationsResponse.avatar_customizations', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, + number=2, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), diff --git a/pgoapi/protos/pogoprotos/networking/responses/use_item_move_reroll_response_pb2.py b/pgoapi/protos/pogoprotos/networking/responses/use_item_move_reroll_response_pb2.py new file mode 100644 index 00000000..a102c1d7 --- /dev/null +++ b/pgoapi/protos/pogoprotos/networking/responses/use_item_move_reroll_response_pb2.py @@ -0,0 +1,128 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: pogoprotos/networking/responses/use_item_move_reroll_response.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +from google.protobuf import descriptor_pb2 +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from pogoprotos.data import pokemon_data_pb2 as pogoprotos_dot_data_dot_pokemon__data__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='pogoprotos/networking/responses/use_item_move_reroll_response.proto', + package='pogoprotos.networking.responses', + syntax='proto3', + serialized_pb=_b('\nCpogoprotos/networking/responses/use_item_move_reroll_response.proto\x12\x1fpogoprotos.networking.responses\x1a\"pogoprotos/data/pokemon_data.proto\"\xc1\x02\n\x19UseItemMoveRerollResponse\x12Q\n\x06result\x18\x01 \x01(\x0e\x32\x41.pogoprotos.networking.responses.UseItemMoveRerollResponse.Result\x12\x36\n\x10upgraded_pokemon\x18\x02 \x01(\x0b\x32\x1c.pogoprotos.data.PokemonData\"\x98\x01\n\x06Result\x12\t\n\x05UNSET\x10\x00\x12\x0b\n\x07SUCCESS\x10\x01\x12\x0e\n\nNO_POKEMON\x10\x02\x12\x12\n\x0eNO_OTHER_MOVES\x10\x03\x12\r\n\tNO_PLAYER\x10\x04\x12\x13\n\x0fWRONG_ITEM_TYPE\x10\x05\x12\x19\n\x15ITEM_NOT_IN_INVENTORY\x10\x06\x12\x13\n\x0fINVALID_POKEMON\x10\x07\x62\x06proto3') + , + dependencies=[pogoprotos_dot_data_dot_pokemon__data__pb2.DESCRIPTOR,]) + + + +_USEITEMMOVEREROLLRESPONSE_RESULT = _descriptor.EnumDescriptor( + name='Result', + full_name='pogoprotos.networking.responses.UseItemMoveRerollResponse.Result', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSET', index=0, number=0, + options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='SUCCESS', index=1, number=1, + options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='NO_POKEMON', index=2, number=2, + options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='NO_OTHER_MOVES', index=3, number=3, + options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='NO_PLAYER', index=4, number=4, + options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='WRONG_ITEM_TYPE', index=5, number=5, + options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='ITEM_NOT_IN_INVENTORY', index=6, number=6, + options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='INVALID_POKEMON', index=7, number=7, + options=None, + type=None), + ], + containing_type=None, + options=None, + serialized_start=310, + serialized_end=462, +) +_sym_db.RegisterEnumDescriptor(_USEITEMMOVEREROLLRESPONSE_RESULT) + + +_USEITEMMOVEREROLLRESPONSE = _descriptor.Descriptor( + name='UseItemMoveRerollResponse', + full_name='pogoprotos.networking.responses.UseItemMoveRerollResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='result', full_name='pogoprotos.networking.responses.UseItemMoveRerollResponse.result', index=0, + number=1, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='upgraded_pokemon', full_name='pogoprotos.networking.responses.UseItemMoveRerollResponse.upgraded_pokemon', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _USEITEMMOVEREROLLRESPONSE_RESULT, + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=141, + serialized_end=462, +) + +_USEITEMMOVEREROLLRESPONSE.fields_by_name['result'].enum_type = _USEITEMMOVEREROLLRESPONSE_RESULT +_USEITEMMOVEREROLLRESPONSE.fields_by_name['upgraded_pokemon'].message_type = pogoprotos_dot_data_dot_pokemon__data__pb2._POKEMONDATA +_USEITEMMOVEREROLLRESPONSE_RESULT.containing_type = _USEITEMMOVEREROLLRESPONSE +DESCRIPTOR.message_types_by_name['UseItemMoveRerollResponse'] = _USEITEMMOVEREROLLRESPONSE +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +UseItemMoveRerollResponse = _reflection.GeneratedProtocolMessageType('UseItemMoveRerollResponse', (_message.Message,), dict( + DESCRIPTOR = _USEITEMMOVEREROLLRESPONSE, + __module__ = 'pogoprotos.networking.responses.use_item_move_reroll_response_pb2' + # @@protoc_insertion_point(class_scope:pogoprotos.networking.responses.UseItemMoveRerollResponse) + )) +_sym_db.RegisterMessage(UseItemMoveRerollResponse) + + +# @@protoc_insertion_point(module_scope) diff --git a/pgoapi/protos/pogoprotos/networking/responses/use_item_rare_candy_response_pb2.py b/pgoapi/protos/pogoprotos/networking/responses/use_item_rare_candy_response_pb2.py new file mode 100644 index 00000000..2582eca8 --- /dev/null +++ b/pgoapi/protos/pogoprotos/networking/responses/use_item_rare_candy_response_pb2.py @@ -0,0 +1,127 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: pogoprotos/networking/responses/use_item_rare_candy_response.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +from google.protobuf import descriptor_pb2 +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from pogoprotos.enums import pokemon_id_pb2 as pogoprotos_dot_enums_dot_pokemon__id__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='pogoprotos/networking/responses/use_item_rare_candy_response.proto', + package='pogoprotos.networking.responses', + syntax='proto3', + serialized_pb=_b('\nBpogoprotos/networking/responses/use_item_rare_candy_response.proto\x12\x1fpogoprotos.networking.responses\x1a!pogoprotos/enums/pokemon_id.proto\"\xb3\x02\n\x18UseItemRareCandyResponse\x12P\n\x06result\x18\x01 \x01(\x0e\x32@.pogoprotos.networking.responses.UseItemRareCandyResponse.Result\x12/\n\npokemon_id\x18\x02 \x01(\x0e\x32\x1b.pogoprotos.enums.PokemonId\x12\x1b\n\x13updated_candy_count\x18\x03 \x01(\x05\"w\n\x06Result\x12\t\n\x05UNSET\x10\x00\x12\x0b\n\x07SUCCESS\x10\x01\x12\x16\n\x12INVALID_POKEMON_ID\x10\x02\x12\r\n\tNO_PLAYER\x10\x03\x12\x13\n\x0fWRONG_ITEM_TYPE\x10\x04\x12\x19\n\x15ITEM_NOT_IN_INVENTORY\x10\x05\x62\x06proto3') + , + dependencies=[pogoprotos_dot_enums_dot_pokemon__id__pb2.DESCRIPTOR,]) + + + +_USEITEMRARECANDYRESPONSE_RESULT = _descriptor.EnumDescriptor( + name='Result', + full_name='pogoprotos.networking.responses.UseItemRareCandyResponse.Result', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSET', index=0, number=0, + options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='SUCCESS', index=1, number=1, + options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='INVALID_POKEMON_ID', index=2, number=2, + options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='NO_PLAYER', index=3, number=3, + options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='WRONG_ITEM_TYPE', index=4, number=4, + options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='ITEM_NOT_IN_INVENTORY', index=5, number=5, + options=None, + type=None), + ], + containing_type=None, + options=None, + serialized_start=327, + serialized_end=446, +) +_sym_db.RegisterEnumDescriptor(_USEITEMRARECANDYRESPONSE_RESULT) + + +_USEITEMRARECANDYRESPONSE = _descriptor.Descriptor( + name='UseItemRareCandyResponse', + full_name='pogoprotos.networking.responses.UseItemRareCandyResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='result', full_name='pogoprotos.networking.responses.UseItemRareCandyResponse.result', index=0, + number=1, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='pokemon_id', full_name='pogoprotos.networking.responses.UseItemRareCandyResponse.pokemon_id', index=1, + number=2, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='updated_candy_count', full_name='pogoprotos.networking.responses.UseItemRareCandyResponse.updated_candy_count', index=2, + number=3, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _USEITEMRARECANDYRESPONSE_RESULT, + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=139, + serialized_end=446, +) + +_USEITEMRARECANDYRESPONSE.fields_by_name['result'].enum_type = _USEITEMRARECANDYRESPONSE_RESULT +_USEITEMRARECANDYRESPONSE.fields_by_name['pokemon_id'].enum_type = pogoprotos_dot_enums_dot_pokemon__id__pb2._POKEMONID +_USEITEMRARECANDYRESPONSE_RESULT.containing_type = _USEITEMRARECANDYRESPONSE +DESCRIPTOR.message_types_by_name['UseItemRareCandyResponse'] = _USEITEMRARECANDYRESPONSE +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +UseItemRareCandyResponse = _reflection.GeneratedProtocolMessageType('UseItemRareCandyResponse', (_message.Message,), dict( + DESCRIPTOR = _USEITEMRARECANDYRESPONSE, + __module__ = 'pogoprotos.networking.responses.use_item_rare_candy_response_pb2' + # @@protoc_insertion_point(class_scope:pogoprotos.networking.responses.UseItemRareCandyResponse) + )) +_sym_db.RegisterMessage(UseItemRareCandyResponse) + + +# @@protoc_insertion_point(module_scope) diff --git a/pgoapi/protos/pogoprotos/settings/master/badge_settings_pb2.py b/pgoapi/protos/pogoprotos/settings/master/badge_settings_pb2.py index 84905b84..a4e287e5 100644 --- a/pgoapi/protos/pogoprotos/settings/master/badge_settings_pb2.py +++ b/pgoapi/protos/pogoprotos/settings/master/badge_settings_pb2.py @@ -21,7 +21,7 @@ name='pogoprotos/settings/master/badge_settings.proto', package='pogoprotos.settings.master', syntax='proto3', - serialized_pb=_b('\n/pogoprotos/settings/master/badge_settings.proto\x12\x1apogoprotos.settings.master\x1a!pogoprotos/enums/badge_type.proto\x1a\x30pogoprotos/data/badge/badge_capture_reward.proto\"\xa8\x01\n\rBadgeSettings\x12/\n\nbadge_type\x18\x01 \x01(\x0e\x32\x1b.pogoprotos.enums.BadgeType\x12\x12\n\nbadge_rank\x18\x02 \x01(\x05\x12\x0f\n\x07targets\x18\x03 \x03(\x05\x12\x41\n\x0e\x63\x61pture_reward\x18\x04 \x03(\x0b\x32).pogoprotos.data.badge.BadgeCaptureRewardb\x06proto3') + serialized_pb=_b('\n/pogoprotos/settings/master/badge_settings.proto\x12\x1apogoprotos.settings.master\x1a!pogoprotos/enums/badge_type.proto\x1a\x30pogoprotos/data/badge/badge_capture_reward.proto\"\xbd\x01\n\rBadgeSettings\x12/\n\nbadge_type\x18\x01 \x01(\x0e\x32\x1b.pogoprotos.enums.BadgeType\x12\x12\n\nbadge_rank\x18\x02 \x01(\x05\x12\x0f\n\x07targets\x18\x03 \x03(\x05\x12\x41\n\x0e\x63\x61pture_reward\x18\x04 \x03(\x0b\x32).pogoprotos.data.badge.BadgeCaptureReward\x12\x13\n\x0b\x65vent_badge\x18\x05 \x01(\x08\x62\x06proto3') , dependencies=[pogoprotos_dot_enums_dot_badge__type__pb2.DESCRIPTOR,pogoprotos_dot_data_dot_badge_dot_badge__capture__reward__pb2.DESCRIPTOR,]) @@ -63,6 +63,13 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), + _descriptor.FieldDescriptor( + name='event_badge', full_name='pogoprotos.settings.master.BadgeSettings.event_badge', index=4, + number=5, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), ], extensions=[ ], @@ -76,7 +83,7 @@ oneofs=[ ], serialized_start=165, - serialized_end=333, + serialized_end=354, ) _BADGESETTINGS.fields_by_name['badge_type'].enum_type = pogoprotos_dot_enums_dot_badge__type__pb2._BADGETYPE diff --git a/pgoapi/protos/pogoprotos/settings/master/item/food_attributes_pb2.py b/pgoapi/protos/pogoprotos/settings/master/item/food_attributes_pb2.py index bbf8c54f..00716601 100644 --- a/pgoapi/protos/pogoprotos/settings/master/item/food_attributes_pb2.py +++ b/pgoapi/protos/pogoprotos/settings/master/item/food_attributes_pb2.py @@ -20,7 +20,7 @@ name='pogoprotos/settings/master/item/food_attributes.proto', package='pogoprotos.settings.master.item', syntax='proto3', - serialized_pb=_b('\n5pogoprotos/settings/master/item/food_attributes.proto\x12\x1fpogoprotos.settings.master.item\x1a\"pogoprotos/enums/item_effect.proto\"\x92\x01\n\x0e\x46oodAttributes\x12\x31\n\x0bitem_effect\x18\x01 \x03(\x0e\x32\x1c.pogoprotos.enums.ItemEffect\x12\x1b\n\x13item_effect_percent\x18\x02 \x03(\x02\x12\x16\n\x0egrowth_percent\x18\x03 \x01(\x02\x12\x18\n\x10\x62\x65rry_multiplier\x18\x04 \x01(\x02\x62\x06proto3') + serialized_pb=_b('\n5pogoprotos/settings/master/item/food_attributes.proto\x12\x1fpogoprotos.settings.master.item\x1a\"pogoprotos/enums/item_effect.proto\"\xb3\x01\n\x0e\x46oodAttributes\x12\x31\n\x0bitem_effect\x18\x01 \x03(\x0e\x32\x1c.pogoprotos.enums.ItemEffect\x12\x1b\n\x13item_effect_percent\x18\x02 \x03(\x02\x12\x16\n\x0egrowth_percent\x18\x03 \x01(\x02\x12\x18\n\x10\x62\x65rry_multiplier\x18\x04 \x01(\x02\x12\x1f\n\x17remote_berry_multiplier\x18\x05 \x01(\x02\x62\x06proto3') , dependencies=[pogoprotos_dot_enums_dot_item__effect__pb2.DESCRIPTOR,]) @@ -62,6 +62,13 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), + _descriptor.FieldDescriptor( + name='remote_berry_multiplier', full_name='pogoprotos.settings.master.item.FoodAttributes.remote_berry_multiplier', index=4, + number=5, type=2, cpp_type=6, label=1, + has_default_value=False, default_value=float(0), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), ], extensions=[ ], @@ -75,7 +82,7 @@ oneofs=[ ], serialized_start=127, - serialized_end=273, + serialized_end=306, ) _FOODATTRIBUTES.fields_by_name['item_effect'].enum_type = pogoprotos_dot_enums_dot_item__effect__pb2._ITEMEFFECT diff --git a/setup.py b/setup.py index f54ffaa6..c452ca06 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ setup(name='pgoapi', author = 'tjado', description = 'Pokemon Go API lib', - version = '1.2.1', + version = '2.13.0', url = 'https://github.com/goedzo/pgoapi', download_url = "https://github.com/pogodevorg/pgoapi/releases", packages = find_packages(),