poke-go-api 0.1.1 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/poke-api.rb +3 -3
- data/lib/poke-api/auth/google.rb +3 -1
- data/lib/poke-api/auth/ptc.rb +6 -3
- data/lib/poke-api/auth/ticket.rb +9 -6
- data/lib/poke-api/client.rb +24 -6
- data/lib/poke-api/helpers.rb +25 -0
- data/lib/poke-api/logging.rb +1 -1
- data/lib/poke-api/pogoprotos/pogoprotos_data.rb +94 -0
- data/lib/poke-api/pogoprotos/pogoprotos_data_battle.rb +91 -0
- data/lib/poke-api/{POGOProtos/Data/Capture/CaptureProbability.rb → pogoprotos/pogoprotos_data_capture.rb} +10 -2
- data/lib/poke-api/{POGOProtos/Data/Gym/GymMembership.rb → pogoprotos/pogoprotos_data_gym.rb} +9 -3
- data/lib/poke-api/pogoprotos/pogoprotos_data_logs.rb +50 -0
- data/lib/poke-api/pogoprotos/pogoprotos_data_player.rb +88 -0
- data/lib/poke-api/pogoprotos/pogoprotos_enums.rb +639 -0
- data/lib/poke-api/pogoprotos/pogoprotos_inventory.rb +96 -0
- data/lib/poke-api/{POGOProtos/Inventory/Item/ItemId.rb → pogoprotos/pogoprotos_inventory_item.rb} +28 -1
- data/lib/poke-api/{POGOProtos/Map/MapCell.rb → pogoprotos/pogoprotos_map.rb} +14 -7
- data/lib/poke-api/pogoprotos/pogoprotos_map_fort.rb +71 -0
- data/lib/poke-api/pogoprotos/pogoprotos_map_pokemon.rb +41 -0
- data/lib/poke-api/pogoprotos/pogoprotos_networking_envelopes.rb +178 -0
- data/lib/poke-api/{POGOProtos/Networking/Requests/RequestType.rb → pogoprotos/pogoprotos_networking_requests.rb} +6 -1
- data/lib/poke-api/pogoprotos/pogoprotos_networking_requests_messages.rb +288 -0
- data/lib/poke-api/pogoprotos/pogoprotos_networking_responses.rb +653 -0
- data/lib/poke-api/pogoprotos/pogoprotos_settings.rb +56 -0
- data/lib/poke-api/pogoprotos/pogoprotos_settings_master.rb +183 -0
- data/lib/poke-api/pogoprotos/pogoprotos_settings_master_item.rb +75 -0
- data/lib/poke-api/{POGOProtos/Settings/Master/Pokemon/EncounterAttributes.rb → pogoprotos/pogoprotos_settings_master_pokemon.rb} +17 -2
- data/lib/poke-api/pogoprotos/setup_protobufs.rb +22 -0
- data/lib/poke-api/request_builder.rb +13 -36
- data/lib/poke-api/response.rb +11 -9
- data/lib/poke-api/signature.rb +37 -0
- data/lib/poke-api/testing.rb +18 -30
- data/lib/poke-api/version.rb +1 -1
- metadata +23 -449
- data/lib/poke-api/POGOProtos/Data/AssetDigestEntry.rb +0 -21
- data/lib/poke-api/POGOProtos/Data/Battle/BattleAction.rb +0 -33
- data/lib/poke-api/POGOProtos/Data/Battle/BattleActionType.rb +0 -28
- data/lib/poke-api/POGOProtos/Data/Battle/BattleLog.rb +0 -26
- data/lib/poke-api/POGOProtos/Data/Battle/BattleParticipant.rb +0 -23
- data/lib/poke-api/POGOProtos/Data/Battle/BattlePokemonInfo.rb +0 -21
- data/lib/poke-api/POGOProtos/Data/Battle/BattleResults.rb +0 -24
- data/lib/poke-api/POGOProtos/Data/Battle/BattleState.rb +0 -22
- data/lib/poke-api/POGOProtos/Data/Battle/BattleType.rb +0 -20
- data/lib/poke-api/POGOProtos/Data/Capture/CaptureAward.rb +0 -22
- data/lib/poke-api/POGOProtos/Data/DownloadUrlEntry.rb +0 -19
- data/lib/poke-api/POGOProtos/Data/Gym/GymState.rb +0 -21
- data/lib/poke-api/POGOProtos/Data/Logs/ActionLogEntry.rb +0 -25
- data/lib/poke-api/POGOProtos/Data/Logs/CatchPokemonLogEntry.rb +0 -28
- data/lib/poke-api/POGOProtos/Data/Logs/FortSearchLogEntry.rb +0 -27
- data/lib/poke-api/POGOProtos/Data/Player/ContactSettings.rb +0 -19
- data/lib/poke-api/POGOProtos/Data/Player/Currency.rb +0 -19
- data/lib/poke-api/POGOProtos/Data/Player/DailyBonus.rb +0 -19
- data/lib/poke-api/POGOProtos/Data/Player/EquippedBadge.rb +0 -21
- data/lib/poke-api/POGOProtos/Data/Player/PlayerAvatar.rb +0 -27
- data/lib/poke-api/POGOProtos/Data/Player/PlayerCamera.rb +0 -18
- data/lib/poke-api/POGOProtos/Data/Player/PlayerCurrency.rb +0 -18
- data/lib/poke-api/POGOProtos/Data/Player/PlayerPublicProfile.rb +0 -21
- data/lib/poke-api/POGOProtos/Data/Player/PlayerStats.rb +0 -40
- data/lib/poke-api/POGOProtos/Data/PlayerBadge.rb +0 -21
- data/lib/poke-api/POGOProtos/Data/PlayerData.rb +0 -33
- data/lib/poke-api/POGOProtos/Data/PokedexEntry.rb +0 -21
- data/lib/poke-api/POGOProtos/Data/PokemonData.rb +0 -48
- data/lib/poke-api/POGOProtos/Enums/ActivityType.rb +0 -39
- data/lib/poke-api/POGOProtos/Enums/BadgeType.rb +0 -53
- data/lib/poke-api/POGOProtos/Enums/CameraInterpolation.rb +0 -20
- data/lib/poke-api/POGOProtos/Enums/CameraTarget.rb +0 -29
- data/lib/poke-api/POGOProtos/Enums/Gender.rb +0 -17
- data/lib/poke-api/POGOProtos/Enums/IapItemCategory.rb +0 -20
- data/lib/poke-api/POGOProtos/Enums/ItemCategory.rb +0 -27
- data/lib/poke-api/POGOProtos/Enums/ItemEffect.rb +0 -30
- data/lib/poke-api/POGOProtos/Enums/Platform.rb +0 -20
- data/lib/poke-api/POGOProtos/Enums/PokemonFamilyId.rb +0 -96
- data/lib/poke-api/POGOProtos/Enums/PokemonId.rb +0 -167
- data/lib/poke-api/POGOProtos/Enums/PokemonMove.rb +0 -195
- data/lib/poke-api/POGOProtos/Enums/PokemonMovementType.rb +0 -22
- data/lib/poke-api/POGOProtos/Enums/PokemonRarity.rb +0 -18
- data/lib/poke-api/POGOProtos/Enums/PokemonType.rb +0 -34
- data/lib/poke-api/POGOProtos/Enums/TeamColor.rb +0 -19
- data/lib/poke-api/POGOProtos/Enums/TutorialState.rb +0 -25
- data/lib/poke-api/POGOProtos/Inventory/AppliedItem.rb +0 -21
- data/lib/poke-api/POGOProtos/Inventory/AppliedItems.rb +0 -17
- data/lib/poke-api/POGOProtos/Inventory/EggIncubator.rb +0 -24
- data/lib/poke-api/POGOProtos/Inventory/EggIncubatorType.rb +0 -17
- data/lib/poke-api/POGOProtos/Inventory/EggIncubators.rb +0 -17
- data/lib/poke-api/POGOProtos/Inventory/InventoryDelta.rb +0 -19
- data/lib/poke-api/POGOProtos/Inventory/InventoryItem.rb +0 -19
- data/lib/poke-api/POGOProtos/Inventory/InventoryItemData.rb +0 -35
- data/lib/poke-api/POGOProtos/Inventory/InventoryUpgrade.rb +0 -20
- data/lib/poke-api/POGOProtos/Inventory/InventoryUpgradeType.rb +0 -18
- data/lib/poke-api/POGOProtos/Inventory/InventoryUpgrades.rb +0 -17
- data/lib/poke-api/POGOProtos/Inventory/Item/ItemAward.rb +0 -20
- data/lib/poke-api/POGOProtos/Inventory/Item/ItemData.rb +0 -21
- data/lib/poke-api/POGOProtos/Inventory/Item/ItemType.rb +0 -30
- data/lib/poke-api/POGOProtos/Inventory/PokemonFamily.rb +0 -18
- data/lib/poke-api/POGOProtos/Map/Fort/FortData.rb +0 -39
- data/lib/poke-api/POGOProtos/Map/Fort/FortLureInfo.rb +0 -22
- data/lib/poke-api/POGOProtos/Map/Fort/FortModifier.rb +0 -21
- data/lib/poke-api/POGOProtos/Map/Fort/FortRenderingType.rb +0 -19
- data/lib/poke-api/POGOProtos/Map/Fort/FortSponsor.rb +0 -20
- data/lib/poke-api/POGOProtos/Map/Fort/FortSummary.rb +0 -21
- data/lib/poke-api/POGOProtos/Map/Fort/FortType.rb +0 -19
- data/lib/poke-api/POGOProtos/Map/MapObjectsStatus.rb +0 -18
- data/lib/poke-api/POGOProtos/Map/Pokemon/MapPokemon.rb +0 -24
- data/lib/poke-api/POGOProtos/Map/Pokemon/NearbyPokemon.rb +0 -21
- data/lib/poke-api/POGOProtos/Map/Pokemon/WildPokemon.rb +0 -25
- data/lib/poke-api/POGOProtos/Map/SpawnPoint.rb +0 -17
- data/lib/poke-api/POGOProtos/Networking/Envelopes/AuthTicket.rb +0 -20
- data/lib/poke-api/POGOProtos/Networking/Envelopes/RequestEnvelope.rb +0 -40
- data/lib/poke-api/POGOProtos/Networking/Envelopes/ResponseEnvelope.rb +0 -32
- data/lib/poke-api/POGOProtos/Networking/Envelopes/Unknown6.rb +0 -23
- data/lib/poke-api/POGOProtos/Networking/Envelopes/Unknown6Response.rb +0 -23
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/AddFortModifierMessage.rb +0 -24
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/AttackGymMessage.rb +0 -26
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/CatchPokemonMessage.rb +0 -27
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/CheckAwardedBadgesMessage.rb +0 -19
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/CheckCodenameAvailableMessage.rb +0 -20
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/ClaimCodenameMessage.rb +0 -20
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/CollectDailyBonusMessage.rb +0 -19
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/CollectDailyDefenderBonusMessage.rb +0 -19
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/DiskEncounterMessage.rb +0 -23
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/DownloadItemTemplatesMessage.rb +0 -19
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/DownloadRemoteConfigVersionMessage.rb +0 -25
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/DownloadSettingsMessage.rb +0 -20
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/EchoMessage.rb +0 -19
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/EncounterMessage.rb +0 -23
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/EncounterTutorialCompleteMessage.rb +0 -21
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/EquipBadgeMessage.rb +0 -21
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/EvolvePokemonMessage.rb +0 -20
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/FortDeployPokemonMessage.rb +0 -23
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/FortDetailsMessage.rb +0 -22
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/FortRecallPokemonMessage.rb +0 -23
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/FortSearchMessage.rb +0 -24
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/GetAssetDigestMessage.rb +0 -25
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/GetDownloadUrlsMessage.rb +0 -20
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/GetGymDetailsMessage.rb +0 -24
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/GetHatchedEggsMessage.rb +0 -19
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/GetIncensePokemonMessage.rb +0 -21
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/GetInventoryMessage.rb +0 -21
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/GetMapObjectsMessage.rb +0 -23
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/GetPlayerMessage.rb +0 -19
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/GetPlayerProfileMessage.rb +0 -20
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/GetSuggestedCodenamesMessage.rb +0 -19
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/IncenseEncounterMessage.rb +0 -21
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/LevelUpRewardsMessage.rb +0 -20
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/MarkTutorialCompleteMessage.rb +0 -23
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/NicknamePokemonMessage.rb +0 -21
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/PlayerUpdateMessage.rb +0 -21
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/RecycleInventoryItemMessage.rb +0 -22
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/ReleasePokemonMessage.rb +0 -20
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/SetAvatarMessage.rb +0 -21
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/SetContactSettingsMessage.rb +0 -21
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/SetFavoritePokemonMessage.rb +0 -21
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/SetPlayerTeamMessage.rb +0 -21
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/SfidaActionLogMessage.rb +0 -19
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/StartGymBattleMessage.rb +0 -24
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/UpgradePokemonMessage.rb +0 -20
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/UseIncenseMessage.rb +0 -21
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/UseItemCaptureMessage.rb +0 -23
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/UseItemEggIncubatorMessage.rb +0 -21
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/UseItemGymMessage.rb +0 -24
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/UseItemPotionMessage.rb +0 -22
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/UseItemReviveMessage.rb +0 -22
- data/lib/poke-api/POGOProtos/Networking/Requests/Messages/UseItemXpBoostMessage.rb +0 -21
- data/lib/poke-api/POGOProtos/Networking/Requests/Request.rb +0 -20
- data/lib/poke-api/POGOProtos/Networking/Responses/AddFortModifierResponse.rb +0 -17
- data/lib/poke-api/POGOProtos/Networking/Responses/AttackGymResponse.rb +0 -31
- data/lib/poke-api/POGOProtos/Networking/Responses/CatchPokemonResponse.rb +0 -30
- data/lib/poke-api/POGOProtos/Networking/Responses/CheckAwardedBadgesResponse.rb +0 -21
- data/lib/poke-api/POGOProtos/Networking/Responses/CheckCodenameAvailableResponse.rb +0 -30
- data/lib/poke-api/POGOProtos/Networking/Responses/ClaimCodenameResponse.rb +0 -30
- data/lib/poke-api/POGOProtos/Networking/Responses/CollectDailyBonusResponse.rb +0 -25
- data/lib/poke-api/POGOProtos/Networking/Responses/CollectDailyDefenderBonusResponse.rb +0 -29
- data/lib/poke-api/POGOProtos/Networking/Responses/DiskEncounterResponse.rb +0 -31
- data/lib/poke-api/POGOProtos/Networking/Responses/DownloadItemTemplatesResponse.rb +0 -54
- data/lib/poke-api/POGOProtos/Networking/Responses/DownloadRemoteConfigVersionResponse.rb +0 -25
- data/lib/poke-api/POGOProtos/Networking/Responses/DownloadSettingsResponse.rb +0 -21
- data/lib/poke-api/POGOProtos/Networking/Responses/EchoResponse.rb +0 -18
- data/lib/poke-api/POGOProtos/Networking/Responses/EncounterResponse.rb +0 -39
- data/lib/poke-api/POGOProtos/Networking/Responses/EncounterTutorialCompleteResponse.rb +0 -28
- data/lib/poke-api/POGOProtos/Networking/Responses/EquipBadgeResponse.rb +0 -27
- data/lib/poke-api/POGOProtos/Networking/Responses/EvolvePokemonResponse.rb +0 -31
- data/lib/poke-api/POGOProtos/Networking/Responses/FortDeployPokemonResponse.rb +0 -36
- data/lib/poke-api/POGOProtos/Networking/Responses/FortDetailsResponse.rb +0 -34
- data/lib/poke-api/POGOProtos/Networking/Responses/FortRecallPokemonResponse.rb +0 -28
- data/lib/poke-api/POGOProtos/Networking/Responses/FortSearchResponse.rb +0 -34
- data/lib/poke-api/POGOProtos/Networking/Responses/GetAssetDigestResponse.rb +0 -20
- data/lib/poke-api/POGOProtos/Networking/Responses/GetDownloadUrlsResponse.rb +0 -19
- data/lib/poke-api/POGOProtos/Networking/Responses/GetGymDetailsResponse.rb +0 -29
- data/lib/poke-api/POGOProtos/Networking/Responses/GetHatchedEggsResponse.rb +0 -22
- data/lib/poke-api/POGOProtos/Networking/Responses/GetIncensePokemonResponse.rb +0 -31
- data/lib/poke-api/POGOProtos/Networking/Responses/GetInventoryResponse.rb +0 -20
- data/lib/poke-api/POGOProtos/Networking/Responses/GetMapObjectsResponse.rb +0 -21
- data/lib/poke-api/POGOProtos/Networking/Responses/GetPlayerProfileResponse.rb +0 -26
- data/lib/poke-api/POGOProtos/Networking/Responses/GetPlayerResponse.rb +0 -20
- data/lib/poke-api/POGOProtos/Networking/Responses/GetSuggestedCodenamesResponse.rb +0 -19
- data/lib/poke-api/POGOProtos/Networking/Responses/IncenseEncounterResponse.rb +0 -29
- data/lib/poke-api/POGOProtos/Networking/Responses/LevelUpRewardsResponse.rb +0 -28
- data/lib/poke-api/POGOProtos/Networking/Responses/MarkTutorialCompleteResponse.rb +0 -20
- data/lib/poke-api/POGOProtos/Networking/Responses/NicknamePokemonResponse.rb +0 -26
- data/lib/poke-api/POGOProtos/Networking/Responses/PlayerUpdateResponse.rb +0 -22
- data/lib/poke-api/POGOProtos/Networking/Responses/RecycleInventoryItemResponse.rb +0 -26
- data/lib/poke-api/POGOProtos/Networking/Responses/ReleasePokemonResponse.rb +0 -27
- data/lib/poke-api/POGOProtos/Networking/Responses/SetAvatarResponse.rb +0 -27
- data/lib/poke-api/POGOProtos/Networking/Responses/SetContactSettingsResponse.rb +0 -26
- data/lib/poke-api/POGOProtos/Networking/Responses/SetFavoritePokemonResponse.rb +0 -25
- data/lib/poke-api/POGOProtos/Networking/Responses/SetPlayerTeamResponse.rb +0 -27
- data/lib/poke-api/POGOProtos/Networking/Responses/SfidaActionLogResponse.rb +0 -25
- data/lib/poke-api/POGOProtos/Networking/Responses/StartGymBattleResponse.rb +0 -42
- data/lib/poke-api/POGOProtos/Networking/Responses/UpgradePokemonResponse.rb +0 -29
- data/lib/poke-api/POGOProtos/Networking/Responses/UseIncenseResponse.rb +0 -28
- data/lib/poke-api/POGOProtos/Networking/Responses/UseItemCaptureResponse.rb +0 -24
- data/lib/poke-api/POGOProtos/Networking/Responses/UseItemEggIncubatorResponse.rb +0 -31
- data/lib/poke-api/POGOProtos/Networking/Responses/UseItemGymResponse.rb +0 -26
- data/lib/poke-api/POGOProtos/Networking/Responses/UseItemPotionResponse.rb +0 -27
- data/lib/poke-api/POGOProtos/Networking/Responses/UseItemReviveResponse.rb +0 -27
- data/lib/poke-api/POGOProtos/Networking/Responses/UseItemXpBoostResponse.rb +0 -29
- data/lib/poke-api/POGOProtos/Settings/DownloadSettingsAction.rb +0 -16
- data/lib/poke-api/POGOProtos/Settings/FortSettings.rb +0 -21
- data/lib/poke-api/POGOProtos/Settings/GlobalSettings.rb +0 -24
- data/lib/poke-api/POGOProtos/Settings/InventorySettings.rb +0 -20
- data/lib/poke-api/POGOProtos/Settings/LevelSettings.rb +0 -17
- data/lib/poke-api/POGOProtos/Settings/MapSettings.rb +0 -22
- data/lib/poke-api/POGOProtos/Settings/Master/BadgeSettings.rb +0 -21
- data/lib/poke-api/POGOProtos/Settings/Master/CameraSettings.rb +0 -35
- data/lib/poke-api/POGOProtos/Settings/Master/EncounterSettings.rb +0 -22
- data/lib/poke-api/POGOProtos/Settings/Master/EquippedBadgeSettings.rb +0 -20
- data/lib/poke-api/POGOProtos/Settings/Master/GymBattleSettings.rb +0 -31
- data/lib/poke-api/POGOProtos/Settings/Master/GymLevelSettings.rb +0 -21
- data/lib/poke-api/POGOProtos/Settings/Master/IapItemDisplay.rb +0 -24
- data/lib/poke-api/POGOProtos/Settings/Master/IapSettings.rb +0 -24
- data/lib/poke-api/POGOProtos/Settings/Master/Item/BattleAttributes.rb +0 -20
- data/lib/poke-api/POGOProtos/Settings/Master/Item/EggIncubatorAttributes.rb +0 -23
- data/lib/poke-api/POGOProtos/Settings/Master/Item/ExperienceBoostAttributes.rb +0 -21
- data/lib/poke-api/POGOProtos/Settings/Master/Item/FoodAttributes.rb +0 -23
- data/lib/poke-api/POGOProtos/Settings/Master/Item/FortModifierAttributes.rb +0 -21
- data/lib/poke-api/POGOProtos/Settings/Master/Item/IncenseAttributes.rb +0 -27
- data/lib/poke-api/POGOProtos/Settings/Master/Item/InventoryUpgradeAttributes.rb +0 -22
- data/lib/poke-api/POGOProtos/Settings/Master/Item/PokeballAttributes.rb +0 -24
- data/lib/poke-api/POGOProtos/Settings/Master/Item/PotionAttributes.rb +0 -21
- data/lib/poke-api/POGOProtos/Settings/Master/Item/ReviveAttributes.rb +0 -20
- data/lib/poke-api/POGOProtos/Settings/Master/ItemSettings.rb +0 -45
- data/lib/poke-api/POGOProtos/Settings/Master/MoveSequenceSettings.rb +0 -18
- data/lib/poke-api/POGOProtos/Settings/Master/MoveSettings.rb +0 -34
- data/lib/poke-api/POGOProtos/Settings/Master/PlayerLevelSettings.rb +0 -22
- data/lib/poke-api/POGOProtos/Settings/Master/Pokemon/CameraAttributes.rb +0 -24
- data/lib/poke-api/POGOProtos/Settings/Master/Pokemon/StatsAttributes.rb +0 -23
- data/lib/poke-api/POGOProtos/Settings/Master/PokemonSettings.rb +0 -46
- data/lib/poke-api/POGOProtos/Settings/Master/PokemonUpgradeSettings.rb +0 -21
- data/lib/poke-api/POGOProtos/Settings/Master/TypeEffectiveSettings.rb +0 -20
- data/lib/poke-api/POGOProtos/Signature.rb +0 -94
- data/lib/poke-api/POGOProtosSource/Data/AssetDigestEntry.proto +0 -11
- data/lib/poke-api/POGOProtosSource/Data/Battle/BattleAction.proto +0 -22
- data/lib/poke-api/POGOProtosSource/Data/Battle/BattleActionType.proto +0 -16
- data/lib/poke-api/POGOProtosSource/Data/Battle/BattleLog.proto +0 -15
- data/lib/poke-api/POGOProtosSource/Data/Battle/BattleParticipant.proto +0 -12
- data/lib/poke-api/POGOProtosSource/Data/Battle/BattlePokemonInfo.proto +0 -10
- data/lib/poke-api/POGOProtosSource/Data/Battle/BattleResults.proto +0 -13
- data/lib/poke-api/POGOProtosSource/Data/Battle/BattleState.proto +0 -10
- data/lib/poke-api/POGOProtosSource/Data/Battle/BattleType.proto +0 -8
- data/lib/poke-api/POGOProtosSource/Data/Capture/CaptureAward.proto +0 -11
- data/lib/poke-api/POGOProtosSource/Data/Capture/CaptureProbability.proto +0 -10
- data/lib/poke-api/POGOProtosSource/Data/DownloadUrlEntry.proto +0 -9
- data/lib/poke-api/POGOProtosSource/Data/Gym/GymMembership.proto +0 -10
- data/lib/poke-api/POGOProtosSource/Data/Gym/GymState.proto +0 -10
- data/lib/poke-api/POGOProtosSource/Data/Logs/ActionLogEntry.proto +0 -15
- data/lib/poke-api/POGOProtosSource/Data/Logs/CatchPokemonLogEntry.proto +0 -17
- data/lib/poke-api/POGOProtosSource/Data/Logs/FortSearchLogEntry.proto +0 -16
- data/lib/poke-api/POGOProtosSource/Data/Player/ContactSettings.proto +0 -7
- data/lib/poke-api/POGOProtosSource/Data/Player/Currency.proto +0 -7
- data/lib/poke-api/POGOProtosSource/Data/Player/DailyBonus.proto +0 -7
- data/lib/poke-api/POGOProtosSource/Data/Player/EquippedBadge.proto +0 -10
- data/lib/poke-api/POGOProtosSource/Data/Player/PlayerAvatar.proto +0 -16
- data/lib/poke-api/POGOProtosSource/Data/Player/PlayerCamera.proto +0 -6
- data/lib/poke-api/POGOProtosSource/Data/Player/PlayerCurrency.proto +0 -6
- data/lib/poke-api/POGOProtosSource/Data/Player/PlayerPublicProfile.proto +0 -10
- data/lib/poke-api/POGOProtosSource/Data/Player/PlayerStats.proto +0 -28
- data/lib/poke-api/POGOProtosSource/Data/PlayerBadge.proto +0 -12
- data/lib/poke-api/POGOProtosSource/Data/PlayerData.proto +0 -24
- data/lib/poke-api/POGOProtosSource/Data/PokedexEntry.proto +0 -12
- data/lib/poke-api/POGOProtosSource/Data/PokemonData.proto +0 -39
- data/lib/poke-api/POGOProtosSource/Enums/ActivityType.proto +0 -29
- data/lib/poke-api/POGOProtosSource/Enums/BadgeType.proto +0 -43
- data/lib/poke-api/POGOProtosSource/Enums/CameraInterpolation.proto +0 -10
- data/lib/poke-api/POGOProtosSource/Enums/CameraTarget.proto +0 -19
- data/lib/poke-api/POGOProtosSource/Enums/Gender.proto +0 -7
- data/lib/poke-api/POGOProtosSource/Enums/IapItemCategory.proto +0 -10
- data/lib/poke-api/POGOProtosSource/Enums/ItemCategory.proto +0 -17
- data/lib/poke-api/POGOProtosSource/Enums/ItemEffect.proto +0 -20
- data/lib/poke-api/POGOProtosSource/Enums/Platform.proto +0 -10
- data/lib/poke-api/POGOProtosSource/Enums/PokemonFamilyId.proto +0 -86
- data/lib/poke-api/POGOProtosSource/Enums/PokemonId.proto +0 -157
- data/lib/poke-api/POGOProtosSource/Enums/PokemonMove.proto +0 -185
- data/lib/poke-api/POGOProtosSource/Enums/PokemonMovementType.proto +0 -12
- data/lib/poke-api/POGOProtosSource/Enums/PokemonRarity.proto +0 -8
- data/lib/poke-api/POGOProtosSource/Enums/PokemonType.proto +0 -24
- data/lib/poke-api/POGOProtosSource/Enums/TeamColor.proto +0 -9
- data/lib/poke-api/POGOProtosSource/Enums/TutorialState.proto +0 -15
- data/lib/poke-api/POGOProtosSource/Inventory/AppliedItem.proto +0 -12
- data/lib/poke-api/POGOProtosSource/Inventory/AppliedItems.proto +0 -8
- data/lib/poke-api/POGOProtosSource/Inventory/EggIncubator.proto +0 -15
- data/lib/poke-api/POGOProtosSource/Inventory/EggIncubatorType.proto +0 -7
- data/lib/poke-api/POGOProtosSource/Inventory/EggIncubators.proto +0 -8
- data/lib/poke-api/POGOProtosSource/Inventory/InventoryDelta.proto +0 -10
- data/lib/poke-api/POGOProtosSource/Inventory/InventoryItem.proto +0 -10
- data/lib/poke-api/POGOProtosSource/Inventory/InventoryItemData.proto +0 -26
- data/lib/poke-api/POGOProtosSource/Inventory/InventoryUpgrade.proto +0 -11
- data/lib/poke-api/POGOProtosSource/Inventory/InventoryUpgradeType.proto +0 -8
- data/lib/poke-api/POGOProtosSource/Inventory/InventoryUpgrades.proto +0 -8
- data/lib/poke-api/POGOProtosSource/Inventory/Item/ItemAward.proto +0 -9
- data/lib/poke-api/POGOProtosSource/Inventory/Item/ItemData.proto +0 -10
- data/lib/poke-api/POGOProtosSource/Inventory/Item/ItemId.proto +0 -35
- data/lib/poke-api/POGOProtosSource/Inventory/Item/ItemType.proto +0 -18
- data/lib/poke-api/POGOProtosSource/Inventory/PokemonFamily.proto +0 -9
- data/lib/poke-api/POGOProtosSource/Map/Fort/FortData.proto +0 -45
- data/lib/poke-api/POGOProtosSource/Map/Fort/FortLureInfo.proto +0 -11
- data/lib/poke-api/POGOProtosSource/Map/Fort/FortModifier.proto +0 -10
- data/lib/poke-api/POGOProtosSource/Map/Fort/FortRenderingType.proto +0 -7
- data/lib/poke-api/POGOProtosSource/Map/Fort/FortSponsor.proto +0 -8
- data/lib/poke-api/POGOProtosSource/Map/Fort/FortSummary.proto +0 -9
- data/lib/poke-api/POGOProtosSource/Map/Fort/FortType.proto +0 -7
- data/lib/poke-api/POGOProtosSource/Map/MapCell.proto +0 -29
- data/lib/poke-api/POGOProtosSource/Map/MapObjectsStatus.proto +0 -8
- data/lib/poke-api/POGOProtosSource/Map/Pokemon/MapPokemon.proto +0 -14
- data/lib/poke-api/POGOProtosSource/Map/Pokemon/NearbyPokemon.proto +0 -10
- data/lib/poke-api/POGOProtosSource/Map/Pokemon/WildPokemon.proto +0 -14
- data/lib/poke-api/POGOProtosSource/Map/SpawnPoint.proto +0 -7
- data/lib/poke-api/POGOProtosSource/Networking/Envelopes/AuthTicket.proto +0 -8
- data/lib/poke-api/POGOProtosSource/Networking/Envelopes/RequestEnvelope.proto +0 -31
- data/lib/poke-api/POGOProtosSource/Networking/Envelopes/ResponseEnvelope.proto +0 -23
- data/lib/poke-api/POGOProtosSource/Networking/Envelopes/Unknown6.proto +0 -11
- data/lib/poke-api/POGOProtosSource/Networking/Envelopes/Unknown6Response.proto +0 -11
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/AddFortModifierMessage.proto +0 -11
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/AttackGymMessage.proto +0 -13
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/CatchPokemonMessage.proto +0 -14
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/CheckAwardedBadgesMessage.proto +0 -6
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/CheckCodenameAvailableMessage.proto +0 -6
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/ClaimCodenameMessage.proto +0 -6
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/CollectDailyBonusMessage.proto +0 -6
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/CollectDailyDefenderBonusMessage.proto +0 -6
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/DiskEncounterMessage.proto +0 -9
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/DownloadItemTemplatesMessage.proto +0 -6
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/DownloadRemoteConfigVersionMessage.proto +0 -12
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/DownloadSettingsMessage.proto +0 -6
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/EchoMessage.proto +0 -6
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/EncounterMessage.proto +0 -9
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/EncounterTutorialCompleteMessage.proto +0 -8
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/EquipBadgeMessage.proto +0 -8
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/EvolvePokemonMessage.proto +0 -6
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/FortDeployPokemonMessage.proto +0 -9
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/FortDetailsMessage.proto +0 -8
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/FortRecallPokemonMessage.proto +0 -9
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/FortSearchMessage.proto +0 -10
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/GetAssetDigestMessage.proto +0 -12
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/GetDownloadUrlsMessage.proto +0 -7
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/GetGymDetailsMessage.proto +0 -10
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/GetHatchedEggsMessage.proto +0 -6
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/GetIncensePokemonMessage.proto +0 -7
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/GetInventoryMessage.proto +0 -7
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/GetMapObjectsMessage.proto +0 -9
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/GetPlayerMessage.proto +0 -6
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/GetPlayerProfileMessage.proto +0 -6
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/GetSuggestedCodenamesMessage.proto +0 -6
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/IncenseEncounterMessage.proto +0 -7
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/LevelUpRewardsMessage.proto +0 -6
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/MarkTutorialCompleteMessage.proto +0 -10
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/NicknamePokemonMessage.proto +0 -7
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/PlayerUpdateMessage.proto +0 -7
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/README.txt +0 -1
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/RecycleInventoryItemMessage.proto +0 -9
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/ReleasePokemonMessage.proto +0 -6
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/SetAvatarMessage.proto +0 -8
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/SetContactSettingsMessage.proto +0 -8
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/SetFavoritePokemonMessage.proto +0 -7
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/SetPlayerTeamMessage.proto +0 -8
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/SfidaActionLogMessage.proto +0 -6
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/StartGymBattleMessage.proto +0 -10
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/UpgradePokemonMessage.proto +0 -6
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/UseIncenseMessage.proto +0 -8
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/UseItemCaptureMessage.proto +0 -10
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/UseItemEggIncubatorMessage.proto +0 -7
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/UseItemGymMessage.proto +0 -11
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/UseItemPotionMessage.proto +0 -9
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/UseItemReviveMessage.proto +0 -9
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/UseItemXpBoostMessage.proto +0 -8
- data/lib/poke-api/POGOProtosSource/Networking/Requests/Request.proto +0 -9
- data/lib/poke-api/POGOProtosSource/Networking/Requests/RequestType.proto +0 -79
- data/lib/poke-api/POGOProtosSource/Networking/Responses/AddFortModifierResponse.proto +0 -6
- data/lib/poke-api/POGOProtosSource/Networking/Responses/AttackGymResponse.proto +0 -20
- data/lib/poke-api/POGOProtosSource/Networking/Responses/CatchPokemonResponse.proto +0 -19
- data/lib/poke-api/POGOProtosSource/Networking/Responses/CheckAwardedBadgesResponse.proto +0 -10
- data/lib/poke-api/POGOProtosSource/Networking/Responses/CheckCodenameAvailableResponse.proto +0 -19
- data/lib/poke-api/POGOProtosSource/Networking/Responses/ClaimCodenameResponse.proto +0 -19
- data/lib/poke-api/POGOProtosSource/Networking/Responses/CollectDailyBonusResponse.proto +0 -13
- data/lib/poke-api/POGOProtosSource/Networking/Responses/CollectDailyDefenderBonusResponse.proto +0 -17
- data/lib/poke-api/POGOProtosSource/Networking/Responses/DiskEncounterResponse.proto +0 -20
- data/lib/poke-api/POGOProtosSource/Networking/Responses/DownloadItemTemplatesResponse.proto +0 -45
- data/lib/poke-api/POGOProtosSource/Networking/Responses/DownloadRemoteConfigVersionResponse.proto +0 -13
- data/lib/poke-api/POGOProtosSource/Networking/Responses/DownloadSettingsResponse.proto +0 -10
- data/lib/poke-api/POGOProtosSource/Networking/Responses/EchoResponse.proto +0 -6
- data/lib/poke-api/POGOProtosSource/Networking/Responses/EncounterResponse.proto +0 -28
- data/lib/poke-api/POGOProtosSource/Networking/Responses/EncounterTutorialCompleteResponse.proto +0 -17
- data/lib/poke-api/POGOProtosSource/Networking/Responses/EquipBadgeResponse.proto +0 -16
- data/lib/poke-api/POGOProtosSource/Networking/Responses/EvolvePokemonResponse.proto +0 -20
- data/lib/poke-api/POGOProtosSource/Networking/Responses/FortDeployPokemonResponse.proto +0 -25
- data/lib/poke-api/POGOProtosSource/Networking/Responses/FortDetailsResponse.proto +0 -23
- data/lib/poke-api/POGOProtosSource/Networking/Responses/FortRecallPokemonResponse.proto +0 -17
- data/lib/poke-api/POGOProtosSource/Networking/Responses/FortSearchResponse.proto +0 -23
- data/lib/poke-api/POGOProtosSource/Networking/Responses/GetAssetDigestResponse.proto +0 -9
- data/lib/poke-api/POGOProtosSource/Networking/Responses/GetDownloadUrlsResponse.proto +0 -9
- data/lib/poke-api/POGOProtosSource/Networking/Responses/GetGymDetailsResponse.proto +0 -18
- data/lib/poke-api/POGOProtosSource/Networking/Responses/GetHatchedEggsResponse.proto +0 -10
- data/lib/poke-api/POGOProtosSource/Networking/Responses/GetIncensePokemonResponse.proto +0 -20
- data/lib/poke-api/POGOProtosSource/Networking/Responses/GetInventoryResponse.proto +0 -9
- data/lib/poke-api/POGOProtosSource/Networking/Responses/GetMapObjectsResponse.proto +0 -10
- data/lib/poke-api/POGOProtosSource/Networking/Responses/GetPlayerProfileResponse.proto +0 -15
- data/lib/poke-api/POGOProtosSource/Networking/Responses/GetPlayerResponse.proto +0 -9
- data/lib/poke-api/POGOProtosSource/Networking/Responses/GetSuggestedCodenamesResponse.proto +0 -7
- data/lib/poke-api/POGOProtosSource/Networking/Responses/IncenseEncounterResponse.proto +0 -18
- data/lib/poke-api/POGOProtosSource/Networking/Responses/LevelUpRewardsResponse.proto +0 -17
- data/lib/poke-api/POGOProtosSource/Networking/Responses/MarkTutorialCompleteResponse.proto +0 -9
- data/lib/poke-api/POGOProtosSource/Networking/Responses/NicknamePokemonResponse.proto +0 -14
- data/lib/poke-api/POGOProtosSource/Networking/Responses/PlayerUpdateResponse.proto +0 -11
- data/lib/poke-api/POGOProtosSource/Networking/Responses/README.txt +0 -1
- data/lib/poke-api/POGOProtosSource/Networking/Responses/RecycleInventoryItemResponse.proto +0 -14
- data/lib/poke-api/POGOProtosSource/Networking/Responses/ReleasePokemonResponse.proto +0 -15
- data/lib/poke-api/POGOProtosSource/Networking/Responses/SetAvatarResponse.proto +0 -16
- data/lib/poke-api/POGOProtosSource/Networking/Responses/SetContactSettingsResponse.proto +0 -15
- data/lib/poke-api/POGOProtosSource/Networking/Responses/SetFavoritePokemonResponse.proto +0 -13
- data/lib/poke-api/POGOProtosSource/Networking/Responses/SetPlayerTeamResponse.proto +0 -16
- data/lib/poke-api/POGOProtosSource/Networking/Responses/SfidaActionLogResponse.proto +0 -14
- data/lib/poke-api/POGOProtosSource/Networking/Responses/StartGymBattleResponse.proto +0 -31
- data/lib/poke-api/POGOProtosSource/Networking/Responses/UpgradePokemonResponse.proto +0 -18
- data/lib/poke-api/POGOProtosSource/Networking/Responses/UseIncenseResponse.proto +0 -17
- data/lib/poke-api/POGOProtosSource/Networking/Responses/UseItemCaptureResponse.proto +0 -12
- data/lib/poke-api/POGOProtosSource/Networking/Responses/UseItemEggIncubatorResponse.proto +0 -20
- data/lib/poke-api/POGOProtosSource/Networking/Responses/UseItemGymResponse.proto +0 -14
- data/lib/poke-api/POGOProtosSource/Networking/Responses/UseItemPotionResponse.proto +0 -15
- data/lib/poke-api/POGOProtosSource/Networking/Responses/UseItemReviveResponse.proto +0 -15
- data/lib/poke-api/POGOProtosSource/Networking/Responses/UseItemXpBoostResponse.proto +0 -18
- data/lib/poke-api/POGOProtosSource/Networking/Responses/base.proto.txt +0 -2
- data/lib/poke-api/POGOProtosSource/Settings/DownloadSettingsAction.proto +0 -6
- data/lib/poke-api/POGOProtosSource/Settings/FortSettings.proto +0 -11
- data/lib/poke-api/POGOProtosSource/Settings/GlobalSettings.proto +0 -15
- data/lib/poke-api/POGOProtosSource/Settings/InventorySettings.proto +0 -10
- data/lib/poke-api/POGOProtosSource/Settings/LevelSettings.proto +0 -7
- data/lib/poke-api/POGOProtosSource/Settings/MapSettings.proto +0 -12
- data/lib/poke-api/POGOProtosSource/Settings/Master/BadgeSettings.proto +0 -10
- data/lib/poke-api/POGOProtosSource/Settings/Master/CameraSettings.proto +0 -24
- data/lib/poke-api/POGOProtosSource/Settings/Master/EncounterSettings.proto +0 -10
- data/lib/poke-api/POGOProtosSource/Settings/Master/EquippedBadgeSettings.proto +0 -8
- data/lib/poke-api/POGOProtosSource/Settings/Master/GymBattleSettings.proto +0 -19
- data/lib/poke-api/POGOProtosSource/Settings/Master/GymLevelSettings.proto +0 -9
- data/lib/poke-api/POGOProtosSource/Settings/Master/IapItemDisplay.proto +0 -13
- data/lib/poke-api/POGOProtosSource/Settings/Master/IapSettings.proto +0 -12
- data/lib/poke-api/POGOProtosSource/Settings/Master/Item/BattleAttributes.proto +0 -6
- data/lib/poke-api/POGOProtosSource/Settings/Master/Item/EggIncubatorAttributes.proto +0 -10
- data/lib/poke-api/POGOProtosSource/Settings/Master/Item/ExperienceBoostAttributes.proto +0 -7
- data/lib/poke-api/POGOProtosSource/Settings/Master/Item/FoodAttributes.proto +0 -10
- data/lib/poke-api/POGOProtosSource/Settings/Master/Item/FortModifierAttributes.proto +0 -7
- data/lib/poke-api/POGOProtosSource/Settings/Master/Item/IncenseAttributes.proto +0 -14
- data/lib/poke-api/POGOProtosSource/Settings/Master/Item/InventoryUpgradeAttributes.proto +0 -9
- data/lib/poke-api/POGOProtosSource/Settings/Master/Item/PokeballAttributes.proto +0 -11
- data/lib/poke-api/POGOProtosSource/Settings/Master/Item/PotionAttributes.proto +0 -7
- data/lib/poke-api/POGOProtosSource/Settings/Master/Item/ReviveAttributes.proto +0 -6
- data/lib/poke-api/POGOProtosSource/Settings/Master/ItemSettings.proto +0 -38
- data/lib/poke-api/POGOProtosSource/Settings/Master/MoveSequenceSettings.proto +0 -6
- data/lib/poke-api/POGOProtosSource/Settings/Master/MoveSettings.proto +0 -23
- data/lib/poke-api/POGOProtosSource/Settings/Master/PlayerLevelSettings.proto +0 -10
- data/lib/poke-api/POGOProtosSource/Settings/Master/Pokemon/CameraAttributes.proto +0 -10
- data/lib/poke-api/POGOProtosSource/Settings/Master/Pokemon/EncounterAttributes.proto +0 -16
- data/lib/poke-api/POGOProtosSource/Settings/Master/Pokemon/StatsAttributes.proto +0 -9
- data/lib/poke-api/POGOProtosSource/Settings/Master/PokemonSettings.proto +0 -35
- data/lib/poke-api/POGOProtosSource/Settings/Master/PokemonUpgradeSettings.proto +0 -9
- data/lib/poke-api/POGOProtosSource/Settings/Master/TypeEffectiveSettings.proto +0 -9
- data/lib/poke-api/POGOProtosSource/Signature.proto +0 -100
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c43516f50725cfda3be25e7cb083dc9a35a4561d
|
4
|
+
data.tar.gz: a90012ee3e68fcd5b56ec7e8241b5a43acbd69ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc884ed1e40abf088e060386105d2e0efb38e3bc6da8c7edae696872a80038f864e43fed385c4ad42fe60285a1f6b5379581abdd9111c051d961b46c857b19c8
|
7
|
+
data.tar.gz: 9193798106a73642003697ae4d48ca0fe0fd8f43d45199006506f5f8aa30b40039013d27fe2d0c1de24eda268320d4fdfca125cc661a4ce884b32f9060c3d8b7
|
data/lib/poke-api.rb
CHANGED
@@ -18,6 +18,6 @@ require 'poke-api/geometry/s2_lat_lon'
|
|
18
18
|
require 'poke-api/geometry/s2_point'
|
19
19
|
|
20
20
|
# Load Google Generated POGOProtos
|
21
|
-
require 'poke-api/
|
22
|
-
require 'poke-api/
|
23
|
-
require 'poke-api/
|
21
|
+
require 'poke-api/pogoprotos/pogoprotos_networking_envelopes'
|
22
|
+
require 'poke-api/pogoprotos/pogoprotos_networking_requests_messages'
|
23
|
+
require 'poke-api/pogoprotos/pogoprotos_networking_responses'
|
data/lib/poke-api/auth/google.rb
CHANGED
@@ -5,7 +5,7 @@ module Poke
|
|
5
5
|
module Auth
|
6
6
|
class GOOGLE
|
7
7
|
include Logging
|
8
|
-
attr_reader :access_token, :provider
|
8
|
+
attr_reader :access_token, :provider, :expiry
|
9
9
|
|
10
10
|
GOOGLE_LOGIN_ANDROID_ID = '9774d56d682e549c'.freeze
|
11
11
|
GOOGLE_LOGIN_SERVICE = 'audience:server:client_id:848232511240-7so421jotr' \
|
@@ -17,6 +17,7 @@ module Poke
|
|
17
17
|
@username = username
|
18
18
|
@password = password
|
19
19
|
@provider = 'google'
|
20
|
+
@expiry = 0
|
20
21
|
end
|
21
22
|
|
22
23
|
def connect
|
@@ -31,6 +32,7 @@ module Poke
|
|
31
32
|
GOOGLE_LOGIN_SERVICE, GOOGLE_LOGIN_APP, GOOGLE_LOGIN_CLIENT_SIG)
|
32
33
|
end
|
33
34
|
|
35
|
+
@expiry = auth_request['Expiry'].to_i
|
34
36
|
@access_token = auth_request['Auth']
|
35
37
|
end
|
36
38
|
|
data/lib/poke-api/auth/ptc.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'json'
|
2
|
+
require 'uri'
|
2
3
|
require 'httpclient'
|
3
4
|
|
4
5
|
module Poke
|
@@ -6,7 +7,7 @@ module Poke
|
|
6
7
|
module Auth
|
7
8
|
class PTC
|
8
9
|
include Logging
|
9
|
-
attr_reader :access_token, :provider
|
10
|
+
attr_reader :access_token, :provider, :expiry
|
10
11
|
|
11
12
|
PTC_LOGIN_URL = 'https://sso.pokemon.com/sso/login?service=https%3A%2F%2Fsso.pokemon.com' \
|
12
13
|
'%2Fsso%2Foauth2.0%2FcallbackAuthorize'.freeze
|
@@ -18,6 +19,7 @@ module Poke
|
|
18
19
|
@password = password
|
19
20
|
@provider = 'ptc'
|
20
21
|
@client = HTTPClient.new(agent_name: 'PokeAPI/0.0.1')
|
22
|
+
@expiry = 0
|
21
23
|
end
|
22
24
|
|
23
25
|
def connect
|
@@ -60,8 +62,9 @@ module Poke
|
|
60
62
|
code: ticket
|
61
63
|
}
|
62
64
|
|
63
|
-
|
64
|
-
|
65
|
+
resp = URI.decode_www_form(@client.post(PTC_LOGIN_OAUTH, data).body).to_h
|
66
|
+
@access_token = resp['access_token']
|
67
|
+
@expiry = resp['expires'].to_i + Helpers.fetch_time(ms: false)
|
65
68
|
end
|
66
69
|
end
|
67
70
|
end
|
data/lib/poke-api/auth/ticket.rb
CHANGED
@@ -2,6 +2,7 @@ module Poke
|
|
2
2
|
module API
|
3
3
|
module Auth
|
4
4
|
class Ticket
|
5
|
+
include Logging
|
5
6
|
attr_reader :start, :ends, :expire
|
6
7
|
|
7
8
|
def initialize
|
@@ -28,7 +29,6 @@ module Poke
|
|
28
29
|
|
29
30
|
def get_ticket
|
30
31
|
return false unless check_ticket
|
31
|
-
|
32
32
|
true
|
33
33
|
end
|
34
34
|
|
@@ -36,13 +36,16 @@ module Poke
|
|
36
36
|
|
37
37
|
def check_ticket
|
38
38
|
return false unless has_ticket?
|
39
|
+
now = Helpers.fetch_time
|
39
40
|
|
40
|
-
|
41
|
-
|
41
|
+
if now < (@expire - 10000)
|
42
|
+
duration = format('%02d:%02d:%02d', *Helpers.format_time_diff(now, @expire))
|
43
|
+
logger.info "[+] Auth ticket is valid for #{duration}"
|
44
|
+
return true
|
45
|
+
end
|
42
46
|
|
43
|
-
@expire = nil
|
44
|
-
|
45
|
-
@ends = nil
|
47
|
+
@expire, @start, @ends = nil
|
48
|
+
logger.info '[+] Removed expired auth ticket'
|
46
49
|
false
|
47
50
|
end
|
48
51
|
end
|
data/lib/poke-api/client.rb
CHANGED
@@ -3,7 +3,7 @@ module Poke
|
|
3
3
|
class Client
|
4
4
|
include Logging
|
5
5
|
attr_accessor :lat, :lng, :alt, :endpoint, :ticket, :sig_loaded
|
6
|
-
attr_reader :sig_path
|
6
|
+
attr_reader :sig_path, :auth
|
7
7
|
|
8
8
|
def initialize
|
9
9
|
@auth = nil
|
@@ -18,25 +18,28 @@ module Poke
|
|
18
18
|
end
|
19
19
|
|
20
20
|
def login(username, password, provider)
|
21
|
-
provider = provider.upcase
|
22
|
-
|
21
|
+
@username, @password, @provider = username, password, provider.upcase
|
22
|
+
|
23
|
+
raise Errors::InvalidProvider, provider unless %w(PTC GOOGLE).include?(@provider)
|
23
24
|
logger.info "[+] Logging in user: #{username}"
|
24
25
|
|
25
26
|
begin
|
26
|
-
@auth = Auth.const_get(provider).new(username, password)
|
27
|
+
@auth = Auth.const_get(@provider).new(username, password)
|
27
28
|
@auth.connect
|
28
29
|
rescue StandardError => ex
|
29
|
-
raise Errors::LoginFailure.new(provider, ex)
|
30
|
+
raise Errors::LoginFailure.new(@provider, ex)
|
30
31
|
end
|
31
32
|
|
32
33
|
get_hatched_eggs
|
33
34
|
call
|
34
|
-
logger.info "[+] Login with #{provider} Successful"
|
35
|
+
logger.info "[+] Login with #{@provider} Successful"
|
35
36
|
end
|
36
37
|
|
37
38
|
def call
|
38
39
|
raise Errors::LoginRequired unless @auth
|
39
40
|
raise Errors::NoRequests if @reqs.empty?
|
41
|
+
|
42
|
+
check_expiry
|
40
43
|
req = RequestBuilder.new(@auth, [@lat, @lng, @alt], @endpoint)
|
41
44
|
|
42
45
|
begin
|
@@ -81,6 +84,21 @@ module Poke
|
|
81
84
|
|
82
85
|
private
|
83
86
|
|
87
|
+
def check_expiry
|
88
|
+
unless @ticket.has_ticket?
|
89
|
+
now = Helpers.fetch_time(ms: false)
|
90
|
+
|
91
|
+
if now < (@auth.expiry - 30)
|
92
|
+
duration = format('%02d:%02d:%02d', *Helpers.format_time_diff(now, @auth.expiry, false))
|
93
|
+
logger.info "[+] Provider access token is valid for #{duration}"
|
94
|
+
return
|
95
|
+
end
|
96
|
+
|
97
|
+
logger.info "[+] Refreshing access token as it is no longer valid"
|
98
|
+
login(@username, @password, @provider)
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
84
102
|
def method_missing(method, *args)
|
85
103
|
POGOProtos::Networking::Requests::RequestType.const_get(method.upcase)
|
86
104
|
@reqs << (args.empty? ? method.to_sym.upcase : { method.to_sym.upcase => args.first })
|
data/lib/poke-api/helpers.rb
CHANGED
@@ -13,6 +13,10 @@ module Poke
|
|
13
13
|
sym.to_s.split('_').collect(&:capitalize).join
|
14
14
|
end
|
15
15
|
|
16
|
+
def fetch_time(ms: true)
|
17
|
+
ms ? (Time.now.to_f * 1000).to_i : Time.now.to_i
|
18
|
+
end
|
19
|
+
|
16
20
|
def generate_location_one(auth_ticket, pos)
|
17
21
|
first_hash = XXhash.xxh32(auth_ticket, 0x1B845238)
|
18
22
|
location_bytes = d2h(pos[0]) + d2h(pos[1]) + d2h(pos[2])
|
@@ -35,6 +39,27 @@ module Poke
|
|
35
39
|
def d2h(input)
|
36
40
|
[input].pack('d').unpack('Q').first.to_s(16).split.pack('H*')
|
37
41
|
end
|
42
|
+
|
43
|
+
def format_time_diff(low, high, ms = true)
|
44
|
+
diff = high - low
|
45
|
+
m, s = ms ? (diff / 1000).divmod(60) : diff.divmod(60)
|
46
|
+
m.divmod(60) + [s]
|
47
|
+
end
|
48
|
+
|
49
|
+
def get_cells(lat, lng, radius = 10)
|
50
|
+
s2_point = Poke::API::Geometry::S2LatLon.new(lat, lng).to_point
|
51
|
+
s2_cell = Poke::API::Geometry::S2CellId.from_point(s2_point).parent(15)
|
52
|
+
|
53
|
+
next_cell = s2_cell.next
|
54
|
+
prev_cell = s2_cell.prev
|
55
|
+
|
56
|
+
radius.times.reduce([s2_cell.id]) do |acc, el|
|
57
|
+
acc += [next_cell.id, prev_cell.id]
|
58
|
+
next_cell = next_cell.next
|
59
|
+
prev_cell = prev_cell.prev
|
60
|
+
acc
|
61
|
+
end.sort
|
62
|
+
end
|
38
63
|
end
|
39
64
|
end
|
40
65
|
end
|
data/lib/poke-api/logging.rb
CHANGED
@@ -15,7 +15,7 @@ module Poke
|
|
15
15
|
|
16
16
|
def logger
|
17
17
|
@@loggers[self.class.name] ||= Logger.new(STDOUT).tap do |logger|
|
18
|
-
logger.progname = self.class.name
|
18
|
+
logger.progname = self.class.name == 'Module' ? self.name : self.class.name
|
19
19
|
logger.level = Logger.const_get(@@log_level)
|
20
20
|
logger.formatter = @@formatter
|
21
21
|
end
|
@@ -0,0 +1,94 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: POGOProtos.Data.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require_relative 'pogoprotos_enums'
|
7
|
+
require_relative 'pogoprotos_inventory_item'
|
8
|
+
require_relative 'pogoprotos_data_player'
|
9
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
|
+
add_message "POGOProtos.Data.PokemonData" do
|
11
|
+
optional :id, :fixed64, 1
|
12
|
+
optional :pokemon_id, :enum, 2, "POGOProtos.Enums.PokemonId"
|
13
|
+
optional :cp, :int32, 3
|
14
|
+
optional :stamina, :int32, 4
|
15
|
+
optional :stamina_max, :int32, 5
|
16
|
+
optional :move_1, :enum, 6, "POGOProtos.Enums.PokemonMove"
|
17
|
+
optional :move_2, :enum, 7, "POGOProtos.Enums.PokemonMove"
|
18
|
+
optional :deployed_fort_id, :string, 8
|
19
|
+
optional :owner_name, :string, 9
|
20
|
+
optional :is_egg, :bool, 10
|
21
|
+
optional :egg_km_walked_target, :double, 11
|
22
|
+
optional :egg_km_walked_start, :double, 12
|
23
|
+
optional :origin, :int32, 14
|
24
|
+
optional :height_m, :float, 15
|
25
|
+
optional :weight_kg, :float, 16
|
26
|
+
optional :individual_attack, :int32, 17
|
27
|
+
optional :individual_defense, :int32, 18
|
28
|
+
optional :individual_stamina, :int32, 19
|
29
|
+
optional :cp_multiplier, :float, 20
|
30
|
+
optional :pokeball, :enum, 21, "POGOProtos.Inventory.Item.ItemId"
|
31
|
+
optional :captured_cell_id, :uint64, 22
|
32
|
+
optional :battles_attacked, :int32, 23
|
33
|
+
optional :battles_defended, :int32, 24
|
34
|
+
optional :egg_incubator_id, :string, 25
|
35
|
+
optional :creation_time_ms, :uint64, 26
|
36
|
+
optional :num_upgrades, :int32, 27
|
37
|
+
optional :additional_cp_multiplier, :float, 28
|
38
|
+
optional :favorite, :int32, 29
|
39
|
+
optional :nickname, :string, 30
|
40
|
+
optional :from_fort, :int32, 31
|
41
|
+
end
|
42
|
+
add_message "POGOProtos.Data.PlayerData" do
|
43
|
+
optional :creation_timestamp_ms, :int64, 1
|
44
|
+
optional :username, :string, 2
|
45
|
+
optional :team, :enum, 5, "POGOProtos.Enums.TeamColor"
|
46
|
+
repeated :tutorial_state, :enum, 7, "POGOProtos.Enums.TutorialState"
|
47
|
+
optional :avatar, :message, 8, "POGOProtos.Data.Player.PlayerAvatar"
|
48
|
+
optional :max_pokemon_storage, :int32, 9
|
49
|
+
optional :max_item_storage, :int32, 10
|
50
|
+
optional :daily_bonus, :message, 11, "POGOProtos.Data.Player.DailyBonus"
|
51
|
+
optional :equipped_badge, :message, 12, "POGOProtos.Data.Player.EquippedBadge"
|
52
|
+
optional :contact_settings, :message, 13, "POGOProtos.Data.Player.ContactSettings"
|
53
|
+
repeated :currencies, :message, 14, "POGOProtos.Data.Player.Currency"
|
54
|
+
end
|
55
|
+
add_message "POGOProtos.Data.AssetDigestEntry" do
|
56
|
+
optional :asset_id, :string, 1
|
57
|
+
optional :bundle_name, :string, 2
|
58
|
+
optional :version, :int64, 3
|
59
|
+
optional :checksum, :fixed32, 4
|
60
|
+
optional :size, :int32, 5
|
61
|
+
optional :key, :bytes, 6
|
62
|
+
end
|
63
|
+
add_message "POGOProtos.Data.PokedexEntry" do
|
64
|
+
optional :pokemon_id, :enum, 1, "POGOProtos.Enums.PokemonId"
|
65
|
+
optional :times_encountered, :int32, 2
|
66
|
+
optional :times_captured, :int32, 3
|
67
|
+
optional :evolution_stone_pieces, :int32, 4
|
68
|
+
optional :evolution_stones, :int32, 5
|
69
|
+
end
|
70
|
+
add_message "POGOProtos.Data.DownloadUrlEntry" do
|
71
|
+
optional :asset_id, :string, 1
|
72
|
+
optional :url, :string, 2
|
73
|
+
optional :size, :int32, 3
|
74
|
+
optional :checksum, :fixed32, 4
|
75
|
+
end
|
76
|
+
add_message "POGOProtos.Data.PlayerBadge" do
|
77
|
+
optional :badge_type, :enum, 1, "POGOProtos.Enums.BadgeType"
|
78
|
+
optional :rank, :int32, 2
|
79
|
+
optional :start_value, :int32, 3
|
80
|
+
optional :end_value, :int32, 4
|
81
|
+
optional :current_value, :double, 5
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
module POGOProtos
|
86
|
+
module Data
|
87
|
+
PokemonData = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Data.PokemonData").msgclass
|
88
|
+
PlayerData = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Data.PlayerData").msgclass
|
89
|
+
AssetDigestEntry = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Data.AssetDigestEntry").msgclass
|
90
|
+
PokedexEntry = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Data.PokedexEntry").msgclass
|
91
|
+
DownloadUrlEntry = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Data.DownloadUrlEntry").msgclass
|
92
|
+
PlayerBadge = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Data.PlayerBadge").msgclass
|
93
|
+
end
|
94
|
+
end
|
@@ -0,0 +1,91 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: POGOProtos.Data.Battle.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require_relative 'pogoprotos_data'
|
7
|
+
require_relative 'pogoprotos_data_player'
|
8
|
+
require_relative 'pogoprotos_data_gym'
|
9
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
|
+
add_message "POGOProtos.Data.Battle.BattlePokemonInfo" do
|
11
|
+
optional :pokemon_data, :message, 1, "POGOProtos.Data.PokemonData"
|
12
|
+
optional :current_health, :int32, 2
|
13
|
+
optional :current_energy, :int32, 3
|
14
|
+
end
|
15
|
+
add_message "POGOProtos.Data.Battle.BattleParticipant" do
|
16
|
+
optional :active_pokemon, :message, 1, "POGOProtos.Data.Battle.BattlePokemonInfo"
|
17
|
+
optional :trainer_public_profile, :message, 2, "POGOProtos.Data.Player.PlayerPublicProfile"
|
18
|
+
repeated :reverse_pokemon, :message, 3, "POGOProtos.Data.Battle.BattlePokemonInfo"
|
19
|
+
repeated :defeated_pokemon, :message, 4, "POGOProtos.Data.Battle.BattlePokemonInfo"
|
20
|
+
end
|
21
|
+
add_message "POGOProtos.Data.Battle.BattleResults" do
|
22
|
+
optional :gym_state, :message, 1, "POGOProtos.Data.Gym.GymState"
|
23
|
+
repeated :attackers, :message, 2, "POGOProtos.Data.Battle.BattleParticipant"
|
24
|
+
repeated :player_experience_awarded, :int32, 3
|
25
|
+
optional :next_defender_pokemon_id, :int64, 4
|
26
|
+
optional :gym_points_delta, :int32, 5
|
27
|
+
end
|
28
|
+
add_message "POGOProtos.Data.Battle.BattleAction" do
|
29
|
+
optional :Type, :enum, 1, "POGOProtos.Data.Battle.BattleActionType"
|
30
|
+
optional :action_start_ms, :int64, 2
|
31
|
+
optional :duration_ms, :int32, 3
|
32
|
+
optional :energy_delta, :int32, 5
|
33
|
+
optional :attacker_index, :int32, 6
|
34
|
+
optional :target_index, :int32, 7
|
35
|
+
optional :active_pokemon_id, :fixed64, 8
|
36
|
+
optional :player_joined, :message, 9, "POGOProtos.Data.Battle.BattleParticipant"
|
37
|
+
optional :battle_results, :message, 10, "POGOProtos.Data.Battle.BattleResults"
|
38
|
+
optional :damage_windows_start_timestamp_mss, :int64, 11
|
39
|
+
optional :damage_windows_end_timestamp_mss, :int64, 12
|
40
|
+
optional :player_left, :message, 13, "POGOProtos.Data.Battle.BattleParticipant"
|
41
|
+
optional :target_pokemon_id, :fixed64, 14
|
42
|
+
end
|
43
|
+
add_message "POGOProtos.Data.Battle.BattleLog" do
|
44
|
+
optional :state, :enum, 1, "POGOProtos.Data.Battle.BattleState"
|
45
|
+
optional :battle_type, :enum, 2, "POGOProtos.Data.Battle.BattleType"
|
46
|
+
optional :server_ms, :int64, 3
|
47
|
+
repeated :battle_actions, :message, 4, "POGOProtos.Data.Battle.BattleAction"
|
48
|
+
optional :battle_start_timestamp_ms, :int64, 5
|
49
|
+
optional :battle_end_timestamp_ms, :int64, 6
|
50
|
+
end
|
51
|
+
add_enum "POGOProtos.Data.Battle.BattleType" do
|
52
|
+
value :BATTLE_TYPE_UNSET, 0
|
53
|
+
value :BATTLE_TYPE_NORMAL, 1
|
54
|
+
value :BATTLE_TYPE_TRAINING, 2
|
55
|
+
end
|
56
|
+
add_enum "POGOProtos.Data.Battle.BattleState" do
|
57
|
+
value :STATE_UNSET, 0
|
58
|
+
value :ACTIVE, 1
|
59
|
+
value :VICTORY, 2
|
60
|
+
value :DEFEATED, 3
|
61
|
+
value :TIMED_OUT, 4
|
62
|
+
end
|
63
|
+
add_enum "POGOProtos.Data.Battle.BattleActionType" do
|
64
|
+
value :ACTION_UNSET, 0
|
65
|
+
value :ACTION_ATTACK, 1
|
66
|
+
value :ACTION_DODGE, 2
|
67
|
+
value :ACTION_SPECIAL_ATTACK, 3
|
68
|
+
value :ACTION_SWAP_POKEMON, 4
|
69
|
+
value :ACTION_FAINT, 5
|
70
|
+
value :ACTION_PLAYER_JOIN, 6
|
71
|
+
value :ACTION_PLAYER_QUIT, 7
|
72
|
+
value :ACTION_VICTORY, 8
|
73
|
+
value :ACTION_DEFEAT, 9
|
74
|
+
value :ACTION_TIMED_OUT, 10
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
module POGOProtos
|
79
|
+
module Data
|
80
|
+
module Battle
|
81
|
+
BattlePokemonInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Data.Battle.BattlePokemonInfo").msgclass
|
82
|
+
BattleParticipant = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Data.Battle.BattleParticipant").msgclass
|
83
|
+
BattleResults = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Data.Battle.BattleResults").msgclass
|
84
|
+
BattleAction = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Data.Battle.BattleAction").msgclass
|
85
|
+
BattleLog = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Data.Battle.BattleLog").msgclass
|
86
|
+
BattleType = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Data.Battle.BattleType").enummodule
|
87
|
+
BattleState = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Data.Battle.BattleState").enummodule
|
88
|
+
BattleActionType = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Data.Battle.BattleActionType").enummodule
|
89
|
+
end
|
90
|
+
end
|
91
|
+
end
|
@@ -1,10 +1,17 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: POGOProtos
|
2
|
+
# source: POGOProtos.Data.Capture.proto
|
3
3
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
|
-
|
6
|
+
require_relative 'pogoprotos_enums'
|
7
|
+
require_relative 'pogoprotos_inventory_item'
|
7
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
+
add_message "POGOProtos.Data.Capture.CaptureAward" do
|
10
|
+
repeated :activity_type, :enum, 1, "POGOProtos.Enums.ActivityType"
|
11
|
+
repeated :xp, :int32, 2
|
12
|
+
repeated :candy, :int32, 3
|
13
|
+
repeated :stardust, :int32, 4
|
14
|
+
end
|
8
15
|
add_message "POGOProtos.Data.Capture.CaptureProbability" do
|
9
16
|
repeated :pokeball_type, :enum, 1, "POGOProtos.Inventory.Item.ItemId"
|
10
17
|
repeated :capture_probability, :float, 2
|
@@ -15,6 +22,7 @@ end
|
|
15
22
|
module POGOProtos
|
16
23
|
module Data
|
17
24
|
module Capture
|
25
|
+
CaptureAward = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Data.Capture.CaptureAward").msgclass
|
18
26
|
CaptureProbability = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Data.Capture.CaptureProbability").msgclass
|
19
27
|
end
|
20
28
|
end
|