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
@@ -0,0 +1,56 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: POGOProtos.Settings.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_message "POGOProtos.Settings.MapSettings" do
|
8
|
+
optional :pokemon_visible_range, :double, 1
|
9
|
+
optional :poke_nav_range_meters, :double, 2
|
10
|
+
optional :encounter_range_meters, :double, 3
|
11
|
+
optional :get_map_objects_min_refresh_seconds, :float, 4
|
12
|
+
optional :get_map_objects_max_refresh_seconds, :float, 5
|
13
|
+
optional :get_map_objects_min_distance_meters, :float, 6
|
14
|
+
optional :google_maps_api_key, :string, 7
|
15
|
+
end
|
16
|
+
add_message "POGOProtos.Settings.FortSettings" do
|
17
|
+
optional :interaction_range_meters, :double, 1
|
18
|
+
optional :max_total_deployed_pokemon, :int32, 2
|
19
|
+
optional :max_player_deployed_pokemon, :int32, 3
|
20
|
+
optional :deploy_stamina_multiplier, :double, 4
|
21
|
+
optional :deploy_attack_multiplier, :double, 5
|
22
|
+
optional :far_interaction_range_meters, :double, 6
|
23
|
+
end
|
24
|
+
add_message "POGOProtos.Settings.GlobalSettings" do
|
25
|
+
optional :fort_settings, :message, 2, "POGOProtos.Settings.FortSettings"
|
26
|
+
optional :map_settings, :message, 3, "POGOProtos.Settings.MapSettings"
|
27
|
+
optional :level_settings, :message, 4, "POGOProtos.Settings.LevelSettings"
|
28
|
+
optional :inventory_settings, :message, 5, "POGOProtos.Settings.InventorySettings"
|
29
|
+
optional :minimum_client_version, :string, 6
|
30
|
+
end
|
31
|
+
add_message "POGOProtos.Settings.InventorySettings" do
|
32
|
+
optional :max_pokemon, :int32, 1
|
33
|
+
optional :max_bag_items, :int32, 2
|
34
|
+
optional :base_pokemon, :int32, 3
|
35
|
+
optional :base_bag_items, :int32, 4
|
36
|
+
optional :base_eggs, :int32, 5
|
37
|
+
end
|
38
|
+
add_message "POGOProtos.Settings.LevelSettings" do
|
39
|
+
optional :trainer_cp_modifier, :double, 2
|
40
|
+
optional :trainer_difficulty_modifier, :double, 3
|
41
|
+
end
|
42
|
+
add_message "POGOProtos.Settings.DownloadSettingsAction" do
|
43
|
+
optional :hash, :string, 1
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
module POGOProtos
|
48
|
+
module Settings
|
49
|
+
MapSettings = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Settings.MapSettings").msgclass
|
50
|
+
FortSettings = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Settings.FortSettings").msgclass
|
51
|
+
GlobalSettings = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Settings.GlobalSettings").msgclass
|
52
|
+
InventorySettings = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Settings.InventorySettings").msgclass
|
53
|
+
LevelSettings = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Settings.LevelSettings").msgclass
|
54
|
+
DownloadSettingsAction = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Settings.DownloadSettingsAction").msgclass
|
55
|
+
end
|
56
|
+
end
|
@@ -0,0 +1,183 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: POGOProtos.Settings.Master.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require_relative 'pogoprotos_enums'
|
7
|
+
require_relative 'pogoprotos_settings_master_pokemon'
|
8
|
+
require_relative 'pogoprotos_inventory_item'
|
9
|
+
require_relative 'pogoprotos_settings_master_item'
|
10
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
|
+
add_message "POGOProtos.Settings.Master.IapSettings" do
|
12
|
+
optional :daily_bonus_coins, :int32, 1
|
13
|
+
repeated :daily_defender_bonus_per_pokemon, :int32, 2
|
14
|
+
optional :daily_defender_bonus_max_defenders, :int32, 3
|
15
|
+
repeated :daily_defender_bonus_currency, :string, 4
|
16
|
+
optional :min_time_between_claims_ms, :int64, 5
|
17
|
+
optional :daily_bonus_enabled, :bool, 6
|
18
|
+
optional :daily_defender_bonus_enabled, :bool, 7
|
19
|
+
end
|
20
|
+
add_message "POGOProtos.Settings.Master.EquippedBadgeSettings" do
|
21
|
+
optional :equip_badge_cooldown_ms, :int64, 1
|
22
|
+
repeated :catch_probability_bonus, :float, 2
|
23
|
+
repeated :flee_probability_bonus, :float, 3
|
24
|
+
end
|
25
|
+
add_message "POGOProtos.Settings.Master.GymLevelSettings" do
|
26
|
+
repeated :required_experience, :int32, 1
|
27
|
+
repeated :leader_slots, :int32, 2
|
28
|
+
repeated :trainer_slots, :int32, 3
|
29
|
+
repeated :search_roll_bonus, :int32, 4
|
30
|
+
end
|
31
|
+
add_message "POGOProtos.Settings.Master.TypeEffectiveSettings" do
|
32
|
+
repeated :attack_scalar, :float, 1
|
33
|
+
optional :attack_type, :enum, 2, "POGOProtos.Enums.PokemonType"
|
34
|
+
end
|
35
|
+
add_message "POGOProtos.Settings.Master.PokemonSettings" do
|
36
|
+
optional :pokemon_id, :enum, 1, "POGOProtos.Enums.PokemonId"
|
37
|
+
optional :model_scale, :float, 3
|
38
|
+
optional :type, :enum, 4, "POGOProtos.Enums.PokemonType"
|
39
|
+
optional :type_2, :enum, 5, "POGOProtos.Enums.PokemonType"
|
40
|
+
optional :camera, :message, 6, "POGOProtos.Settings.Master.Pokemon.CameraAttributes"
|
41
|
+
optional :encounter, :message, 7, "POGOProtos.Settings.Master.Pokemon.EncounterAttributes"
|
42
|
+
optional :stats, :message, 8, "POGOProtos.Settings.Master.Pokemon.StatsAttributes"
|
43
|
+
repeated :quick_moves, :enum, 9, "POGOProtos.Enums.PokemonMove"
|
44
|
+
repeated :cinematic_moves, :enum, 10, "POGOProtos.Enums.PokemonMove"
|
45
|
+
repeated :animation_time, :float, 11
|
46
|
+
repeated :evolution_ids, :enum, 12, "POGOProtos.Enums.PokemonId"
|
47
|
+
optional :evolution_pips, :int32, 13
|
48
|
+
optional :rarity, :enum, 14, "POGOProtos.Enums.PokemonRarity"
|
49
|
+
optional :pokedex_height_m, :float, 15
|
50
|
+
optional :pokedex_weight_kg, :float, 16
|
51
|
+
optional :parent_pokemon_id, :enum, 17, "POGOProtos.Enums.PokemonId"
|
52
|
+
optional :height_std_dev, :float, 18
|
53
|
+
optional :weight_std_dev, :float, 19
|
54
|
+
optional :km_distance_to_hatch, :float, 20
|
55
|
+
optional :family_id, :enum, 21, "POGOProtos.Enums.PokemonFamilyId"
|
56
|
+
optional :candy_to_evolve, :int32, 22
|
57
|
+
end
|
58
|
+
add_message "POGOProtos.Settings.Master.GymBattleSettings" do
|
59
|
+
optional :energy_per_sec, :float, 1
|
60
|
+
optional :dodge_energy_cost, :float, 2
|
61
|
+
optional :retarget_seconds, :float, 3
|
62
|
+
optional :enemy_attack_interval, :float, 4
|
63
|
+
optional :attack_server_interval, :float, 5
|
64
|
+
optional :round_duration_seconds, :float, 6
|
65
|
+
optional :bonus_time_per_ally_seconds, :float, 7
|
66
|
+
optional :maximum_attackers_per_battle, :int32, 8
|
67
|
+
optional :same_type_attack_bonus_multiplier, :float, 9
|
68
|
+
optional :maximum_energy, :int32, 10
|
69
|
+
optional :energy_delta_per_health_lost, :float, 11
|
70
|
+
optional :dodge_duration_ms, :int32, 12
|
71
|
+
optional :minimum_player_level, :int32, 13
|
72
|
+
optional :swap_duration_ms, :int32, 14
|
73
|
+
end
|
74
|
+
add_message "POGOProtos.Settings.Master.MoveSettings" do
|
75
|
+
optional :movement_id, :enum, 1, "POGOProtos.Enums.PokemonMove"
|
76
|
+
optional :animation_id, :int32, 2
|
77
|
+
optional :pokemon_type, :enum, 3, "POGOProtos.Enums.PokemonType"
|
78
|
+
optional :power, :float, 4
|
79
|
+
optional :accuracy_chance, :float, 5
|
80
|
+
optional :critical_chance, :float, 6
|
81
|
+
optional :heal_scalar, :float, 7
|
82
|
+
optional :stamina_loss_scalar, :float, 8
|
83
|
+
optional :trainer_level_min, :int32, 9
|
84
|
+
optional :trainer_level_max, :int32, 10
|
85
|
+
optional :vfx_name, :string, 11
|
86
|
+
optional :duration_ms, :int32, 12
|
87
|
+
optional :damage_window_start_ms, :int32, 13
|
88
|
+
optional :damage_window_end_ms, :int32, 14
|
89
|
+
optional :energy_delta, :int32, 15
|
90
|
+
end
|
91
|
+
add_message "POGOProtos.Settings.Master.PokemonUpgradeSettings" do
|
92
|
+
optional :upgrades_per_level, :int32, 1
|
93
|
+
optional :allowed_levels_above_player, :int32, 2
|
94
|
+
repeated :candy_cost, :int32, 3
|
95
|
+
repeated :stardust_cost, :int32, 4
|
96
|
+
end
|
97
|
+
add_message "POGOProtos.Settings.Master.BadgeSettings" do
|
98
|
+
optional :badge_type, :enum, 1, "POGOProtos.Enums.BadgeType"
|
99
|
+
optional :badge_rank, :int32, 2
|
100
|
+
repeated :targets, :int32, 3
|
101
|
+
end
|
102
|
+
add_message "POGOProtos.Settings.Master.PlayerLevelSettings" do
|
103
|
+
repeated :rank_num, :int32, 1
|
104
|
+
repeated :required_experience, :int32, 2
|
105
|
+
repeated :cp_multiplier, :float, 3
|
106
|
+
optional :max_egg_player_level, :int32, 4
|
107
|
+
optional :max_encounter_player_level, :int32, 5
|
108
|
+
end
|
109
|
+
add_message "POGOProtos.Settings.Master.MoveSequenceSettings" do
|
110
|
+
repeated :sequence, :string, 1
|
111
|
+
end
|
112
|
+
add_message "POGOProtos.Settings.Master.IapItemDisplay" do
|
113
|
+
optional :sku, :string, 1
|
114
|
+
optional :category, :enum, 2, "POGOProtos.Enums.HoloIapItemCategory"
|
115
|
+
optional :sort_order, :int32, 3
|
116
|
+
repeated :item_ids, :enum, 4, "POGOProtos.Inventory.Item.ItemId"
|
117
|
+
repeated :counts, :int32, 5
|
118
|
+
end
|
119
|
+
add_message "POGOProtos.Settings.Master.CameraSettings" do
|
120
|
+
optional :next_camera, :string, 1
|
121
|
+
repeated :interpolation, :enum, 2, "POGOProtos.Enums.CameraInterpolation"
|
122
|
+
repeated :target_type, :enum, 3, "POGOProtos.Enums.CameraTarget"
|
123
|
+
repeated :ease_in_speed, :float, 4
|
124
|
+
repeated :east_out_speed, :float, 5
|
125
|
+
repeated :duration_seconds, :float, 6
|
126
|
+
repeated :wait_seconds, :float, 7
|
127
|
+
repeated :transition_seconds, :float, 8
|
128
|
+
repeated :angle_degree, :float, 9
|
129
|
+
repeated :angle_offset_degree, :float, 10
|
130
|
+
repeated :pitch_degree, :float, 11
|
131
|
+
repeated :pitch_offset_degree, :float, 12
|
132
|
+
repeated :roll_degree, :float, 13
|
133
|
+
repeated :distance_meters, :float, 14
|
134
|
+
repeated :height_percent, :float, 15
|
135
|
+
repeated :vert_ctr_ratio, :float, 16
|
136
|
+
end
|
137
|
+
add_message "POGOProtos.Settings.Master.EncounterSettings" do
|
138
|
+
optional :spin_bonus_threshold, :float, 1
|
139
|
+
optional :excellent_throw_threshold, :float, 2
|
140
|
+
optional :great_throw_threshold, :float, 3
|
141
|
+
optional :nice_throw_threshold, :float, 4
|
142
|
+
optional :milestone_threshold, :int32, 5
|
143
|
+
end
|
144
|
+
add_message "POGOProtos.Settings.Master.ItemSettings" do
|
145
|
+
optional :item_id, :enum, 1, "POGOProtos.Inventory.Item.ItemId"
|
146
|
+
optional :item_type, :enum, 2, "POGOProtos.Inventory.Item.ItemType"
|
147
|
+
optional :category, :enum, 3, "POGOProtos.Enums.ItemCategory"
|
148
|
+
optional :drop_freq, :float, 4
|
149
|
+
optional :drop_trainer_level, :int32, 5
|
150
|
+
optional :pokeball, :message, 6, "POGOProtos.Settings.Master.Item.PokeballAttributes"
|
151
|
+
optional :potion, :message, 7, "POGOProtos.Settings.Master.Item.PotionAttributes"
|
152
|
+
optional :revive, :message, 8, "POGOProtos.Settings.Master.Item.ReviveAttributes"
|
153
|
+
optional :battle, :message, 9, "POGOProtos.Settings.Master.Item.BattleAttributes"
|
154
|
+
optional :food, :message, 10, "POGOProtos.Settings.Master.Item.FoodAttributes"
|
155
|
+
optional :inventory_upgrade, :message, 11, "POGOProtos.Settings.Master.Item.InventoryUpgradeAttributes"
|
156
|
+
optional :xp_boost, :message, 12, "POGOProtos.Settings.Master.Item.ExperienceBoostAttributes"
|
157
|
+
optional :incense, :message, 13, "POGOProtos.Settings.Master.Item.IncenseAttributes"
|
158
|
+
optional :egg_incubator, :message, 14, "POGOProtos.Settings.Master.Item.EggIncubatorAttributes"
|
159
|
+
optional :fort_modifier, :message, 15, "POGOProtos.Settings.Master.Item.FortModifierAttributes"
|
160
|
+
end
|
161
|
+
end
|
162
|
+
|
163
|
+
module POGOProtos
|
164
|
+
module Settings
|
165
|
+
module Master
|
166
|
+
IapSettings = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Settings.Master.IapSettings").msgclass
|
167
|
+
EquippedBadgeSettings = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Settings.Master.EquippedBadgeSettings").msgclass
|
168
|
+
GymLevelSettings = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Settings.Master.GymLevelSettings").msgclass
|
169
|
+
TypeEffectiveSettings = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Settings.Master.TypeEffectiveSettings").msgclass
|
170
|
+
PokemonSettings = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Settings.Master.PokemonSettings").msgclass
|
171
|
+
GymBattleSettings = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Settings.Master.GymBattleSettings").msgclass
|
172
|
+
MoveSettings = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Settings.Master.MoveSettings").msgclass
|
173
|
+
PokemonUpgradeSettings = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Settings.Master.PokemonUpgradeSettings").msgclass
|
174
|
+
BadgeSettings = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Settings.Master.BadgeSettings").msgclass
|
175
|
+
PlayerLevelSettings = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Settings.Master.PlayerLevelSettings").msgclass
|
176
|
+
MoveSequenceSettings = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Settings.Master.MoveSequenceSettings").msgclass
|
177
|
+
IapItemDisplay = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Settings.Master.IapItemDisplay").msgclass
|
178
|
+
CameraSettings = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Settings.Master.CameraSettings").msgclass
|
179
|
+
EncounterSettings = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Settings.Master.EncounterSettings").msgclass
|
180
|
+
ItemSettings = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Settings.Master.ItemSettings").msgclass
|
181
|
+
end
|
182
|
+
end
|
183
|
+
end
|
@@ -0,0 +1,75 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: POGOProtos.Settings.Master.Item.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require_relative 'pogoprotos_enums'
|
7
|
+
require_relative 'pogoprotos_inventory'
|
8
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
+
add_message "POGOProtos.Settings.Master.Item.PokeballAttributes" do
|
10
|
+
optional :item_effect, :enum, 1, "POGOProtos.Enums.ItemEffect"
|
11
|
+
optional :capture_multi, :float, 2
|
12
|
+
optional :capture_multi_effect, :float, 3
|
13
|
+
optional :item_effect_mod, :float, 4
|
14
|
+
end
|
15
|
+
add_message "POGOProtos.Settings.Master.Item.IncenseAttributes" do
|
16
|
+
optional :incense_lifetime_seconds, :int32, 1
|
17
|
+
repeated :pokemon_type, :enum, 2, "POGOProtos.Enums.PokemonType"
|
18
|
+
optional :pokemon_incense_type_probability, :float, 3
|
19
|
+
optional :standing_time_between_encounters_seconds, :int32, 4
|
20
|
+
optional :moving_time_between_encounter_seconds, :int32, 5
|
21
|
+
optional :distance_required_for_shorter_interval_meters, :int32, 6
|
22
|
+
optional :pokemon_attracted_length_sec, :int32, 7
|
23
|
+
end
|
24
|
+
add_message "POGOProtos.Settings.Master.Item.PotionAttributes" do
|
25
|
+
optional :sta_percent, :float, 1
|
26
|
+
optional :sta_amount, :int32, 2
|
27
|
+
end
|
28
|
+
add_message "POGOProtos.Settings.Master.Item.BattleAttributes" do
|
29
|
+
optional :sta_percent, :float, 1
|
30
|
+
end
|
31
|
+
add_message "POGOProtos.Settings.Master.Item.ReviveAttributes" do
|
32
|
+
optional :sta_percent, :float, 1
|
33
|
+
end
|
34
|
+
add_message "POGOProtos.Settings.Master.Item.InventoryUpgradeAttributes" do
|
35
|
+
optional :additional_storage, :int32, 1
|
36
|
+
optional :upgrade_type, :enum, 2, "POGOProtos.Inventory.InventoryUpgradeType"
|
37
|
+
end
|
38
|
+
add_message "POGOProtos.Settings.Master.Item.EggIncubatorAttributes" do
|
39
|
+
optional :incubator_type, :enum, 1, "POGOProtos.Inventory.EggIncubatorType"
|
40
|
+
optional :uses, :int32, 2
|
41
|
+
optional :distance_multiplier, :float, 3
|
42
|
+
end
|
43
|
+
add_message "POGOProtos.Settings.Master.Item.FortModifierAttributes" do
|
44
|
+
optional :modifier_lifetime_seconds, :int32, 1
|
45
|
+
optional :troy_disk_num_pokemon_spawned, :int32, 2
|
46
|
+
end
|
47
|
+
add_message "POGOProtos.Settings.Master.Item.ExperienceBoostAttributes" do
|
48
|
+
optional :xp_multiplier, :float, 1
|
49
|
+
optional :boost_duration_ms, :int32, 2
|
50
|
+
end
|
51
|
+
add_message "POGOProtos.Settings.Master.Item.FoodAttributes" do
|
52
|
+
repeated :item_effect, :enum, 1, "POGOProtos.Enums.ItemEffect"
|
53
|
+
repeated :item_effect_percent, :float, 2
|
54
|
+
optional :growth_percent, :float, 3
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
module POGOProtos
|
59
|
+
module Settings
|
60
|
+
module Master
|
61
|
+
module Item
|
62
|
+
PokeballAttributes = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Settings.Master.Item.PokeballAttributes").msgclass
|
63
|
+
IncenseAttributes = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Settings.Master.Item.IncenseAttributes").msgclass
|
64
|
+
PotionAttributes = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Settings.Master.Item.PotionAttributes").msgclass
|
65
|
+
BattleAttributes = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Settings.Master.Item.BattleAttributes").msgclass
|
66
|
+
ReviveAttributes = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Settings.Master.Item.ReviveAttributes").msgclass
|
67
|
+
InventoryUpgradeAttributes = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Settings.Master.Item.InventoryUpgradeAttributes").msgclass
|
68
|
+
EggIncubatorAttributes = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Settings.Master.Item.EggIncubatorAttributes").msgclass
|
69
|
+
FortModifierAttributes = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Settings.Master.Item.FortModifierAttributes").msgclass
|
70
|
+
ExperienceBoostAttributes = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Settings.Master.Item.ExperienceBoostAttributes").msgclass
|
71
|
+
FoodAttributes = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Settings.Master.Item.FoodAttributes").msgclass
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
75
|
+
end
|
@@ -1,10 +1,17 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: POGOProtos
|
2
|
+
# source: POGOProtos.Settings.Master.Pokemon.proto
|
3
3
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
|
-
|
6
|
+
require_relative 'pogoprotos_enums'
|
7
7
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
+
add_message "POGOProtos.Settings.Master.Pokemon.CameraAttributes" do
|
9
|
+
optional :disk_radius_m, :float, 1
|
10
|
+
optional :cylinder_radius_m, :float, 2
|
11
|
+
optional :cylinder_height_m, :float, 3
|
12
|
+
optional :cylinder_ground_m, :float, 4
|
13
|
+
optional :shoulder_mode_scale, :float, 5
|
14
|
+
end
|
8
15
|
add_message "POGOProtos.Settings.Master.Pokemon.EncounterAttributes" do
|
9
16
|
optional :base_capture_rate, :float, 1
|
10
17
|
optional :base_flee_rate, :float, 2
|
@@ -16,13 +23,21 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
16
23
|
optional :jump_time_s, :float, 8
|
17
24
|
optional :attack_timer_s, :float, 9
|
18
25
|
end
|
26
|
+
add_message "POGOProtos.Settings.Master.Pokemon.StatsAttributes" do
|
27
|
+
optional :base_stamina, :int32, 1
|
28
|
+
optional :base_attack, :int32, 2
|
29
|
+
optional :base_defense, :int32, 3
|
30
|
+
optional :dodge_energy_delta, :int32, 8
|
31
|
+
end
|
19
32
|
end
|
20
33
|
|
21
34
|
module POGOProtos
|
22
35
|
module Settings
|
23
36
|
module Master
|
24
37
|
module Pokemon
|
38
|
+
CameraAttributes = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Settings.Master.Pokemon.CameraAttributes").msgclass
|
25
39
|
EncounterAttributes = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Settings.Master.Pokemon.EncounterAttributes").msgclass
|
40
|
+
StatsAttributes = Google::Protobuf::DescriptorPool.generated_pool.lookup("POGOProtos.Settings.Master.Pokemon.StatsAttributes").msgclass
|
26
41
|
end
|
27
42
|
end
|
28
43
|
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Only to generate proper ruby file name convention
|
2
|
+
|
3
|
+
files = Dir.glob('*')
|
4
|
+
|
5
|
+
def replace_name(input)
|
6
|
+
input.gsub(/\.(?=[^.]*\.)/, '_').downcase
|
7
|
+
end
|
8
|
+
|
9
|
+
files.each do |file|
|
10
|
+
fopen = File.open(file)
|
11
|
+
|
12
|
+
new_body = fopen.each_line.map do |x|
|
13
|
+
if x =~ /require_relative_*pogo/
|
14
|
+
x = x.sub('require', 'require_relative').downcase.tr('.', '_')
|
15
|
+
end
|
16
|
+
x
|
17
|
+
end.join
|
18
|
+
|
19
|
+
File.open(file, 'w') {|f| f.puts new_body }
|
20
|
+
end
|
21
|
+
|
22
|
+
files.each {|f| File.rename(f, replace_name(f))}
|
@@ -4,6 +4,7 @@ module Poke
|
|
4
4
|
module API
|
5
5
|
class RequestBuilder
|
6
6
|
include Logging
|
7
|
+
attr_reader :position, :start_time
|
7
8
|
|
8
9
|
def initialize(auth, pos, endpoint)
|
9
10
|
@access_token = auth.access_token
|
@@ -11,20 +12,20 @@ module Poke
|
|
11
12
|
@endpoint = endpoint
|
12
13
|
@position = pos
|
13
14
|
@client = HTTPClient.new(agent_name: 'PokeAPI/0.0.1')
|
14
|
-
@start_time =
|
15
|
+
@start_time = Helpers.fetch_time
|
15
16
|
end
|
16
17
|
|
17
18
|
def request(reqs, client)
|
18
19
|
logger.debug '[+] Creating new request'
|
19
20
|
request_proto = build_main_request(reqs, client)
|
20
|
-
logger.debug "[+] Generated RPC protobuf encoded request \r\n#{request_proto.inspect}"
|
21
21
|
|
22
|
+
logger.debug "[+] Generated RPC protobuf encoded request \r\n#{request_proto.inspect}"
|
22
23
|
logger.info '[+] Executing RPC request'
|
23
|
-
resp = execute_rpc_request(request_proto)
|
24
24
|
|
25
|
+
resp = execute_rpc_request(request_proto)
|
25
26
|
resp = Response.new(resp.body, reqs)
|
26
|
-
resp.decode_response(client)
|
27
27
|
|
28
|
+
resp.decode(client)
|
28
29
|
resp
|
29
30
|
end
|
30
31
|
|
@@ -48,45 +49,22 @@ module Poke
|
|
48
49
|
|
49
50
|
def set_authentication(req, client, request_envelope)
|
50
51
|
if client.ticket.get_ticket
|
51
|
-
|
52
|
-
|
53
|
-
req.auth_ticket = POGOProtos::Networking::Envelopes::AuthTicket.new(
|
54
|
-
start: client.ticket.start, end: client.ticket.ends,
|
55
|
-
expire_timestamp_ms: client.ticket.expire
|
56
|
-
)
|
57
|
-
|
58
|
-
Signature.load_signature(client) if client.sig_path
|
59
|
-
set_signature(req, request_envelope) if client.sig_loaded
|
52
|
+
use_auth_ticket(req, client)
|
60
53
|
else
|
61
|
-
logger.info '[+] Using
|
54
|
+
logger.info '[+] Using provider access token'
|
62
55
|
token = request_envelope::AuthInfo::JWT.new(contents: @access_token, unknown2: 59)
|
63
56
|
req.auth_info = request_envelope::AuthInfo.new(provider: @provider, token: token)
|
64
57
|
end
|
65
58
|
end
|
66
59
|
|
67
|
-
def
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
unk22: SecureRandom.random_bytes(32),
|
72
|
-
timestamp: (Time.now.to_f * 1000).to_i,
|
73
|
-
timestamp_since_start: (Time.now.to_f * 1000).to_i - @start_time
|
74
|
-
)
|
75
|
-
|
76
|
-
req.requests.each do |r|
|
77
|
-
signature.request_hash << Helpers.generate_request(req.auth_ticket.to_proto, r.to_proto)
|
78
|
-
end
|
79
|
-
|
80
|
-
unk6 = POGOProtos::Networking::Envelopes::Unknown6
|
81
|
-
|
82
|
-
logger.info '[+] Generating Signature'
|
83
|
-
|
84
|
-
req.unknown6 = unk6.new(
|
85
|
-
unknown1: 6,
|
86
|
-
unknown2: unk6::Unknown2.new(unknown1: Signature.generate_signature(signature.to_proto))
|
60
|
+
def use_auth_ticket(req, client)
|
61
|
+
req.auth_ticket = POGOProtos::Networking::Envelopes::AuthTicket.new(
|
62
|
+
start: client.ticket.start, end: client.ticket.ends,
|
63
|
+
expire_timestamp_ms: client.ticket.expire
|
87
64
|
)
|
88
65
|
|
89
|
-
|
66
|
+
Signature.load_signature(client) if client.sig_path
|
67
|
+
Signature.create_signature(req, self) if client.sig_loaded
|
90
68
|
end
|
91
69
|
|
92
70
|
def build_sub_request(req, sub_reqs)
|
@@ -131,7 +109,6 @@ module Poke
|
|
131
109
|
proto_name = Poke::API::Helpers.camel_case_lower(entry_name) + 'Message'
|
132
110
|
logger.debug "[+] #{entry_name}: #{entry_content}"
|
133
111
|
|
134
|
-
require "poke-api/POGOProtos/Networking/Requests/Messages/#{proto_name}"
|
135
112
|
POGOProtos::Networking::Requests::Messages.const_get(proto_name).new(entry_content)
|
136
113
|
end
|
137
114
|
|