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.
Files changed (476) hide show
  1. checksums.yaml +4 -4
  2. data/lib/poke-api.rb +3 -3
  3. data/lib/poke-api/auth/google.rb +3 -1
  4. data/lib/poke-api/auth/ptc.rb +6 -3
  5. data/lib/poke-api/auth/ticket.rb +9 -6
  6. data/lib/poke-api/client.rb +24 -6
  7. data/lib/poke-api/helpers.rb +25 -0
  8. data/lib/poke-api/logging.rb +1 -1
  9. data/lib/poke-api/pogoprotos/pogoprotos_data.rb +94 -0
  10. data/lib/poke-api/pogoprotos/pogoprotos_data_battle.rb +91 -0
  11. data/lib/poke-api/{POGOProtos/Data/Capture/CaptureProbability.rb → pogoprotos/pogoprotos_data_capture.rb} +10 -2
  12. data/lib/poke-api/{POGOProtos/Data/Gym/GymMembership.rb → pogoprotos/pogoprotos_data_gym.rb} +9 -3
  13. data/lib/poke-api/pogoprotos/pogoprotos_data_logs.rb +50 -0
  14. data/lib/poke-api/pogoprotos/pogoprotos_data_player.rb +88 -0
  15. data/lib/poke-api/pogoprotos/pogoprotos_enums.rb +639 -0
  16. data/lib/poke-api/pogoprotos/pogoprotos_inventory.rb +96 -0
  17. data/lib/poke-api/{POGOProtos/Inventory/Item/ItemId.rb → pogoprotos/pogoprotos_inventory_item.rb} +28 -1
  18. data/lib/poke-api/{POGOProtos/Map/MapCell.rb → pogoprotos/pogoprotos_map.rb} +14 -7
  19. data/lib/poke-api/pogoprotos/pogoprotos_map_fort.rb +71 -0
  20. data/lib/poke-api/pogoprotos/pogoprotos_map_pokemon.rb +41 -0
  21. data/lib/poke-api/pogoprotos/pogoprotos_networking_envelopes.rb +178 -0
  22. data/lib/poke-api/{POGOProtos/Networking/Requests/RequestType.rb → pogoprotos/pogoprotos_networking_requests.rb} +6 -1
  23. data/lib/poke-api/pogoprotos/pogoprotos_networking_requests_messages.rb +288 -0
  24. data/lib/poke-api/pogoprotos/pogoprotos_networking_responses.rb +653 -0
  25. data/lib/poke-api/pogoprotos/pogoprotos_settings.rb +56 -0
  26. data/lib/poke-api/pogoprotos/pogoprotos_settings_master.rb +183 -0
  27. data/lib/poke-api/pogoprotos/pogoprotos_settings_master_item.rb +75 -0
  28. data/lib/poke-api/{POGOProtos/Settings/Master/Pokemon/EncounterAttributes.rb → pogoprotos/pogoprotos_settings_master_pokemon.rb} +17 -2
  29. data/lib/poke-api/pogoprotos/setup_protobufs.rb +22 -0
  30. data/lib/poke-api/request_builder.rb +13 -36
  31. data/lib/poke-api/response.rb +11 -9
  32. data/lib/poke-api/signature.rb +37 -0
  33. data/lib/poke-api/testing.rb +18 -30
  34. data/lib/poke-api/version.rb +1 -1
  35. metadata +23 -449
  36. data/lib/poke-api/POGOProtos/Data/AssetDigestEntry.rb +0 -21
  37. data/lib/poke-api/POGOProtos/Data/Battle/BattleAction.rb +0 -33
  38. data/lib/poke-api/POGOProtos/Data/Battle/BattleActionType.rb +0 -28
  39. data/lib/poke-api/POGOProtos/Data/Battle/BattleLog.rb +0 -26
  40. data/lib/poke-api/POGOProtos/Data/Battle/BattleParticipant.rb +0 -23
  41. data/lib/poke-api/POGOProtos/Data/Battle/BattlePokemonInfo.rb +0 -21
  42. data/lib/poke-api/POGOProtos/Data/Battle/BattleResults.rb +0 -24
  43. data/lib/poke-api/POGOProtos/Data/Battle/BattleState.rb +0 -22
  44. data/lib/poke-api/POGOProtos/Data/Battle/BattleType.rb +0 -20
  45. data/lib/poke-api/POGOProtos/Data/Capture/CaptureAward.rb +0 -22
  46. data/lib/poke-api/POGOProtos/Data/DownloadUrlEntry.rb +0 -19
  47. data/lib/poke-api/POGOProtos/Data/Gym/GymState.rb +0 -21
  48. data/lib/poke-api/POGOProtos/Data/Logs/ActionLogEntry.rb +0 -25
  49. data/lib/poke-api/POGOProtos/Data/Logs/CatchPokemonLogEntry.rb +0 -28
  50. data/lib/poke-api/POGOProtos/Data/Logs/FortSearchLogEntry.rb +0 -27
  51. data/lib/poke-api/POGOProtos/Data/Player/ContactSettings.rb +0 -19
  52. data/lib/poke-api/POGOProtos/Data/Player/Currency.rb +0 -19
  53. data/lib/poke-api/POGOProtos/Data/Player/DailyBonus.rb +0 -19
  54. data/lib/poke-api/POGOProtos/Data/Player/EquippedBadge.rb +0 -21
  55. data/lib/poke-api/POGOProtos/Data/Player/PlayerAvatar.rb +0 -27
  56. data/lib/poke-api/POGOProtos/Data/Player/PlayerCamera.rb +0 -18
  57. data/lib/poke-api/POGOProtos/Data/Player/PlayerCurrency.rb +0 -18
  58. data/lib/poke-api/POGOProtos/Data/Player/PlayerPublicProfile.rb +0 -21
  59. data/lib/poke-api/POGOProtos/Data/Player/PlayerStats.rb +0 -40
  60. data/lib/poke-api/POGOProtos/Data/PlayerBadge.rb +0 -21
  61. data/lib/poke-api/POGOProtos/Data/PlayerData.rb +0 -33
  62. data/lib/poke-api/POGOProtos/Data/PokedexEntry.rb +0 -21
  63. data/lib/poke-api/POGOProtos/Data/PokemonData.rb +0 -48
  64. data/lib/poke-api/POGOProtos/Enums/ActivityType.rb +0 -39
  65. data/lib/poke-api/POGOProtos/Enums/BadgeType.rb +0 -53
  66. data/lib/poke-api/POGOProtos/Enums/CameraInterpolation.rb +0 -20
  67. data/lib/poke-api/POGOProtos/Enums/CameraTarget.rb +0 -29
  68. data/lib/poke-api/POGOProtos/Enums/Gender.rb +0 -17
  69. data/lib/poke-api/POGOProtos/Enums/IapItemCategory.rb +0 -20
  70. data/lib/poke-api/POGOProtos/Enums/ItemCategory.rb +0 -27
  71. data/lib/poke-api/POGOProtos/Enums/ItemEffect.rb +0 -30
  72. data/lib/poke-api/POGOProtos/Enums/Platform.rb +0 -20
  73. data/lib/poke-api/POGOProtos/Enums/PokemonFamilyId.rb +0 -96
  74. data/lib/poke-api/POGOProtos/Enums/PokemonId.rb +0 -167
  75. data/lib/poke-api/POGOProtos/Enums/PokemonMove.rb +0 -195
  76. data/lib/poke-api/POGOProtos/Enums/PokemonMovementType.rb +0 -22
  77. data/lib/poke-api/POGOProtos/Enums/PokemonRarity.rb +0 -18
  78. data/lib/poke-api/POGOProtos/Enums/PokemonType.rb +0 -34
  79. data/lib/poke-api/POGOProtos/Enums/TeamColor.rb +0 -19
  80. data/lib/poke-api/POGOProtos/Enums/TutorialState.rb +0 -25
  81. data/lib/poke-api/POGOProtos/Inventory/AppliedItem.rb +0 -21
  82. data/lib/poke-api/POGOProtos/Inventory/AppliedItems.rb +0 -17
  83. data/lib/poke-api/POGOProtos/Inventory/EggIncubator.rb +0 -24
  84. data/lib/poke-api/POGOProtos/Inventory/EggIncubatorType.rb +0 -17
  85. data/lib/poke-api/POGOProtos/Inventory/EggIncubators.rb +0 -17
  86. data/lib/poke-api/POGOProtos/Inventory/InventoryDelta.rb +0 -19
  87. data/lib/poke-api/POGOProtos/Inventory/InventoryItem.rb +0 -19
  88. data/lib/poke-api/POGOProtos/Inventory/InventoryItemData.rb +0 -35
  89. data/lib/poke-api/POGOProtos/Inventory/InventoryUpgrade.rb +0 -20
  90. data/lib/poke-api/POGOProtos/Inventory/InventoryUpgradeType.rb +0 -18
  91. data/lib/poke-api/POGOProtos/Inventory/InventoryUpgrades.rb +0 -17
  92. data/lib/poke-api/POGOProtos/Inventory/Item/ItemAward.rb +0 -20
  93. data/lib/poke-api/POGOProtos/Inventory/Item/ItemData.rb +0 -21
  94. data/lib/poke-api/POGOProtos/Inventory/Item/ItemType.rb +0 -30
  95. data/lib/poke-api/POGOProtos/Inventory/PokemonFamily.rb +0 -18
  96. data/lib/poke-api/POGOProtos/Map/Fort/FortData.rb +0 -39
  97. data/lib/poke-api/POGOProtos/Map/Fort/FortLureInfo.rb +0 -22
  98. data/lib/poke-api/POGOProtos/Map/Fort/FortModifier.rb +0 -21
  99. data/lib/poke-api/POGOProtos/Map/Fort/FortRenderingType.rb +0 -19
  100. data/lib/poke-api/POGOProtos/Map/Fort/FortSponsor.rb +0 -20
  101. data/lib/poke-api/POGOProtos/Map/Fort/FortSummary.rb +0 -21
  102. data/lib/poke-api/POGOProtos/Map/Fort/FortType.rb +0 -19
  103. data/lib/poke-api/POGOProtos/Map/MapObjectsStatus.rb +0 -18
  104. data/lib/poke-api/POGOProtos/Map/Pokemon/MapPokemon.rb +0 -24
  105. data/lib/poke-api/POGOProtos/Map/Pokemon/NearbyPokemon.rb +0 -21
  106. data/lib/poke-api/POGOProtos/Map/Pokemon/WildPokemon.rb +0 -25
  107. data/lib/poke-api/POGOProtos/Map/SpawnPoint.rb +0 -17
  108. data/lib/poke-api/POGOProtos/Networking/Envelopes/AuthTicket.rb +0 -20
  109. data/lib/poke-api/POGOProtos/Networking/Envelopes/RequestEnvelope.rb +0 -40
  110. data/lib/poke-api/POGOProtos/Networking/Envelopes/ResponseEnvelope.rb +0 -32
  111. data/lib/poke-api/POGOProtos/Networking/Envelopes/Unknown6.rb +0 -23
  112. data/lib/poke-api/POGOProtos/Networking/Envelopes/Unknown6Response.rb +0 -23
  113. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/AddFortModifierMessage.rb +0 -24
  114. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/AttackGymMessage.rb +0 -26
  115. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/CatchPokemonMessage.rb +0 -27
  116. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/CheckAwardedBadgesMessage.rb +0 -19
  117. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/CheckCodenameAvailableMessage.rb +0 -20
  118. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/ClaimCodenameMessage.rb +0 -20
  119. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/CollectDailyBonusMessage.rb +0 -19
  120. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/CollectDailyDefenderBonusMessage.rb +0 -19
  121. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/DiskEncounterMessage.rb +0 -23
  122. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/DownloadItemTemplatesMessage.rb +0 -19
  123. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/DownloadRemoteConfigVersionMessage.rb +0 -25
  124. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/DownloadSettingsMessage.rb +0 -20
  125. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/EchoMessage.rb +0 -19
  126. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/EncounterMessage.rb +0 -23
  127. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/EncounterTutorialCompleteMessage.rb +0 -21
  128. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/EquipBadgeMessage.rb +0 -21
  129. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/EvolvePokemonMessage.rb +0 -20
  130. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/FortDeployPokemonMessage.rb +0 -23
  131. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/FortDetailsMessage.rb +0 -22
  132. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/FortRecallPokemonMessage.rb +0 -23
  133. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/FortSearchMessage.rb +0 -24
  134. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/GetAssetDigestMessage.rb +0 -25
  135. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/GetDownloadUrlsMessage.rb +0 -20
  136. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/GetGymDetailsMessage.rb +0 -24
  137. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/GetHatchedEggsMessage.rb +0 -19
  138. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/GetIncensePokemonMessage.rb +0 -21
  139. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/GetInventoryMessage.rb +0 -21
  140. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/GetMapObjectsMessage.rb +0 -23
  141. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/GetPlayerMessage.rb +0 -19
  142. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/GetPlayerProfileMessage.rb +0 -20
  143. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/GetSuggestedCodenamesMessage.rb +0 -19
  144. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/IncenseEncounterMessage.rb +0 -21
  145. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/LevelUpRewardsMessage.rb +0 -20
  146. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/MarkTutorialCompleteMessage.rb +0 -23
  147. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/NicknamePokemonMessage.rb +0 -21
  148. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/PlayerUpdateMessage.rb +0 -21
  149. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/RecycleInventoryItemMessage.rb +0 -22
  150. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/ReleasePokemonMessage.rb +0 -20
  151. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/SetAvatarMessage.rb +0 -21
  152. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/SetContactSettingsMessage.rb +0 -21
  153. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/SetFavoritePokemonMessage.rb +0 -21
  154. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/SetPlayerTeamMessage.rb +0 -21
  155. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/SfidaActionLogMessage.rb +0 -19
  156. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/StartGymBattleMessage.rb +0 -24
  157. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/UpgradePokemonMessage.rb +0 -20
  158. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/UseIncenseMessage.rb +0 -21
  159. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/UseItemCaptureMessage.rb +0 -23
  160. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/UseItemEggIncubatorMessage.rb +0 -21
  161. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/UseItemGymMessage.rb +0 -24
  162. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/UseItemPotionMessage.rb +0 -22
  163. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/UseItemReviveMessage.rb +0 -22
  164. data/lib/poke-api/POGOProtos/Networking/Requests/Messages/UseItemXpBoostMessage.rb +0 -21
  165. data/lib/poke-api/POGOProtos/Networking/Requests/Request.rb +0 -20
  166. data/lib/poke-api/POGOProtos/Networking/Responses/AddFortModifierResponse.rb +0 -17
  167. data/lib/poke-api/POGOProtos/Networking/Responses/AttackGymResponse.rb +0 -31
  168. data/lib/poke-api/POGOProtos/Networking/Responses/CatchPokemonResponse.rb +0 -30
  169. data/lib/poke-api/POGOProtos/Networking/Responses/CheckAwardedBadgesResponse.rb +0 -21
  170. data/lib/poke-api/POGOProtos/Networking/Responses/CheckCodenameAvailableResponse.rb +0 -30
  171. data/lib/poke-api/POGOProtos/Networking/Responses/ClaimCodenameResponse.rb +0 -30
  172. data/lib/poke-api/POGOProtos/Networking/Responses/CollectDailyBonusResponse.rb +0 -25
  173. data/lib/poke-api/POGOProtos/Networking/Responses/CollectDailyDefenderBonusResponse.rb +0 -29
  174. data/lib/poke-api/POGOProtos/Networking/Responses/DiskEncounterResponse.rb +0 -31
  175. data/lib/poke-api/POGOProtos/Networking/Responses/DownloadItemTemplatesResponse.rb +0 -54
  176. data/lib/poke-api/POGOProtos/Networking/Responses/DownloadRemoteConfigVersionResponse.rb +0 -25
  177. data/lib/poke-api/POGOProtos/Networking/Responses/DownloadSettingsResponse.rb +0 -21
  178. data/lib/poke-api/POGOProtos/Networking/Responses/EchoResponse.rb +0 -18
  179. data/lib/poke-api/POGOProtos/Networking/Responses/EncounterResponse.rb +0 -39
  180. data/lib/poke-api/POGOProtos/Networking/Responses/EncounterTutorialCompleteResponse.rb +0 -28
  181. data/lib/poke-api/POGOProtos/Networking/Responses/EquipBadgeResponse.rb +0 -27
  182. data/lib/poke-api/POGOProtos/Networking/Responses/EvolvePokemonResponse.rb +0 -31
  183. data/lib/poke-api/POGOProtos/Networking/Responses/FortDeployPokemonResponse.rb +0 -36
  184. data/lib/poke-api/POGOProtos/Networking/Responses/FortDetailsResponse.rb +0 -34
  185. data/lib/poke-api/POGOProtos/Networking/Responses/FortRecallPokemonResponse.rb +0 -28
  186. data/lib/poke-api/POGOProtos/Networking/Responses/FortSearchResponse.rb +0 -34
  187. data/lib/poke-api/POGOProtos/Networking/Responses/GetAssetDigestResponse.rb +0 -20
  188. data/lib/poke-api/POGOProtos/Networking/Responses/GetDownloadUrlsResponse.rb +0 -19
  189. data/lib/poke-api/POGOProtos/Networking/Responses/GetGymDetailsResponse.rb +0 -29
  190. data/lib/poke-api/POGOProtos/Networking/Responses/GetHatchedEggsResponse.rb +0 -22
  191. data/lib/poke-api/POGOProtos/Networking/Responses/GetIncensePokemonResponse.rb +0 -31
  192. data/lib/poke-api/POGOProtos/Networking/Responses/GetInventoryResponse.rb +0 -20
  193. data/lib/poke-api/POGOProtos/Networking/Responses/GetMapObjectsResponse.rb +0 -21
  194. data/lib/poke-api/POGOProtos/Networking/Responses/GetPlayerProfileResponse.rb +0 -26
  195. data/lib/poke-api/POGOProtos/Networking/Responses/GetPlayerResponse.rb +0 -20
  196. data/lib/poke-api/POGOProtos/Networking/Responses/GetSuggestedCodenamesResponse.rb +0 -19
  197. data/lib/poke-api/POGOProtos/Networking/Responses/IncenseEncounterResponse.rb +0 -29
  198. data/lib/poke-api/POGOProtos/Networking/Responses/LevelUpRewardsResponse.rb +0 -28
  199. data/lib/poke-api/POGOProtos/Networking/Responses/MarkTutorialCompleteResponse.rb +0 -20
  200. data/lib/poke-api/POGOProtos/Networking/Responses/NicknamePokemonResponse.rb +0 -26
  201. data/lib/poke-api/POGOProtos/Networking/Responses/PlayerUpdateResponse.rb +0 -22
  202. data/lib/poke-api/POGOProtos/Networking/Responses/RecycleInventoryItemResponse.rb +0 -26
  203. data/lib/poke-api/POGOProtos/Networking/Responses/ReleasePokemonResponse.rb +0 -27
  204. data/lib/poke-api/POGOProtos/Networking/Responses/SetAvatarResponse.rb +0 -27
  205. data/lib/poke-api/POGOProtos/Networking/Responses/SetContactSettingsResponse.rb +0 -26
  206. data/lib/poke-api/POGOProtos/Networking/Responses/SetFavoritePokemonResponse.rb +0 -25
  207. data/lib/poke-api/POGOProtos/Networking/Responses/SetPlayerTeamResponse.rb +0 -27
  208. data/lib/poke-api/POGOProtos/Networking/Responses/SfidaActionLogResponse.rb +0 -25
  209. data/lib/poke-api/POGOProtos/Networking/Responses/StartGymBattleResponse.rb +0 -42
  210. data/lib/poke-api/POGOProtos/Networking/Responses/UpgradePokemonResponse.rb +0 -29
  211. data/lib/poke-api/POGOProtos/Networking/Responses/UseIncenseResponse.rb +0 -28
  212. data/lib/poke-api/POGOProtos/Networking/Responses/UseItemCaptureResponse.rb +0 -24
  213. data/lib/poke-api/POGOProtos/Networking/Responses/UseItemEggIncubatorResponse.rb +0 -31
  214. data/lib/poke-api/POGOProtos/Networking/Responses/UseItemGymResponse.rb +0 -26
  215. data/lib/poke-api/POGOProtos/Networking/Responses/UseItemPotionResponse.rb +0 -27
  216. data/lib/poke-api/POGOProtos/Networking/Responses/UseItemReviveResponse.rb +0 -27
  217. data/lib/poke-api/POGOProtos/Networking/Responses/UseItemXpBoostResponse.rb +0 -29
  218. data/lib/poke-api/POGOProtos/Settings/DownloadSettingsAction.rb +0 -16
  219. data/lib/poke-api/POGOProtos/Settings/FortSettings.rb +0 -21
  220. data/lib/poke-api/POGOProtos/Settings/GlobalSettings.rb +0 -24
  221. data/lib/poke-api/POGOProtos/Settings/InventorySettings.rb +0 -20
  222. data/lib/poke-api/POGOProtos/Settings/LevelSettings.rb +0 -17
  223. data/lib/poke-api/POGOProtos/Settings/MapSettings.rb +0 -22
  224. data/lib/poke-api/POGOProtos/Settings/Master/BadgeSettings.rb +0 -21
  225. data/lib/poke-api/POGOProtos/Settings/Master/CameraSettings.rb +0 -35
  226. data/lib/poke-api/POGOProtos/Settings/Master/EncounterSettings.rb +0 -22
  227. data/lib/poke-api/POGOProtos/Settings/Master/EquippedBadgeSettings.rb +0 -20
  228. data/lib/poke-api/POGOProtos/Settings/Master/GymBattleSettings.rb +0 -31
  229. data/lib/poke-api/POGOProtos/Settings/Master/GymLevelSettings.rb +0 -21
  230. data/lib/poke-api/POGOProtos/Settings/Master/IapItemDisplay.rb +0 -24
  231. data/lib/poke-api/POGOProtos/Settings/Master/IapSettings.rb +0 -24
  232. data/lib/poke-api/POGOProtos/Settings/Master/Item/BattleAttributes.rb +0 -20
  233. data/lib/poke-api/POGOProtos/Settings/Master/Item/EggIncubatorAttributes.rb +0 -23
  234. data/lib/poke-api/POGOProtos/Settings/Master/Item/ExperienceBoostAttributes.rb +0 -21
  235. data/lib/poke-api/POGOProtos/Settings/Master/Item/FoodAttributes.rb +0 -23
  236. data/lib/poke-api/POGOProtos/Settings/Master/Item/FortModifierAttributes.rb +0 -21
  237. data/lib/poke-api/POGOProtos/Settings/Master/Item/IncenseAttributes.rb +0 -27
  238. data/lib/poke-api/POGOProtos/Settings/Master/Item/InventoryUpgradeAttributes.rb +0 -22
  239. data/lib/poke-api/POGOProtos/Settings/Master/Item/PokeballAttributes.rb +0 -24
  240. data/lib/poke-api/POGOProtos/Settings/Master/Item/PotionAttributes.rb +0 -21
  241. data/lib/poke-api/POGOProtos/Settings/Master/Item/ReviveAttributes.rb +0 -20
  242. data/lib/poke-api/POGOProtos/Settings/Master/ItemSettings.rb +0 -45
  243. data/lib/poke-api/POGOProtos/Settings/Master/MoveSequenceSettings.rb +0 -18
  244. data/lib/poke-api/POGOProtos/Settings/Master/MoveSettings.rb +0 -34
  245. data/lib/poke-api/POGOProtos/Settings/Master/PlayerLevelSettings.rb +0 -22
  246. data/lib/poke-api/POGOProtos/Settings/Master/Pokemon/CameraAttributes.rb +0 -24
  247. data/lib/poke-api/POGOProtos/Settings/Master/Pokemon/StatsAttributes.rb +0 -23
  248. data/lib/poke-api/POGOProtos/Settings/Master/PokemonSettings.rb +0 -46
  249. data/lib/poke-api/POGOProtos/Settings/Master/PokemonUpgradeSettings.rb +0 -21
  250. data/lib/poke-api/POGOProtos/Settings/Master/TypeEffectiveSettings.rb +0 -20
  251. data/lib/poke-api/POGOProtos/Signature.rb +0 -94
  252. data/lib/poke-api/POGOProtosSource/Data/AssetDigestEntry.proto +0 -11
  253. data/lib/poke-api/POGOProtosSource/Data/Battle/BattleAction.proto +0 -22
  254. data/lib/poke-api/POGOProtosSource/Data/Battle/BattleActionType.proto +0 -16
  255. data/lib/poke-api/POGOProtosSource/Data/Battle/BattleLog.proto +0 -15
  256. data/lib/poke-api/POGOProtosSource/Data/Battle/BattleParticipant.proto +0 -12
  257. data/lib/poke-api/POGOProtosSource/Data/Battle/BattlePokemonInfo.proto +0 -10
  258. data/lib/poke-api/POGOProtosSource/Data/Battle/BattleResults.proto +0 -13
  259. data/lib/poke-api/POGOProtosSource/Data/Battle/BattleState.proto +0 -10
  260. data/lib/poke-api/POGOProtosSource/Data/Battle/BattleType.proto +0 -8
  261. data/lib/poke-api/POGOProtosSource/Data/Capture/CaptureAward.proto +0 -11
  262. data/lib/poke-api/POGOProtosSource/Data/Capture/CaptureProbability.proto +0 -10
  263. data/lib/poke-api/POGOProtosSource/Data/DownloadUrlEntry.proto +0 -9
  264. data/lib/poke-api/POGOProtosSource/Data/Gym/GymMembership.proto +0 -10
  265. data/lib/poke-api/POGOProtosSource/Data/Gym/GymState.proto +0 -10
  266. data/lib/poke-api/POGOProtosSource/Data/Logs/ActionLogEntry.proto +0 -15
  267. data/lib/poke-api/POGOProtosSource/Data/Logs/CatchPokemonLogEntry.proto +0 -17
  268. data/lib/poke-api/POGOProtosSource/Data/Logs/FortSearchLogEntry.proto +0 -16
  269. data/lib/poke-api/POGOProtosSource/Data/Player/ContactSettings.proto +0 -7
  270. data/lib/poke-api/POGOProtosSource/Data/Player/Currency.proto +0 -7
  271. data/lib/poke-api/POGOProtosSource/Data/Player/DailyBonus.proto +0 -7
  272. data/lib/poke-api/POGOProtosSource/Data/Player/EquippedBadge.proto +0 -10
  273. data/lib/poke-api/POGOProtosSource/Data/Player/PlayerAvatar.proto +0 -16
  274. data/lib/poke-api/POGOProtosSource/Data/Player/PlayerCamera.proto +0 -6
  275. data/lib/poke-api/POGOProtosSource/Data/Player/PlayerCurrency.proto +0 -6
  276. data/lib/poke-api/POGOProtosSource/Data/Player/PlayerPublicProfile.proto +0 -10
  277. data/lib/poke-api/POGOProtosSource/Data/Player/PlayerStats.proto +0 -28
  278. data/lib/poke-api/POGOProtosSource/Data/PlayerBadge.proto +0 -12
  279. data/lib/poke-api/POGOProtosSource/Data/PlayerData.proto +0 -24
  280. data/lib/poke-api/POGOProtosSource/Data/PokedexEntry.proto +0 -12
  281. data/lib/poke-api/POGOProtosSource/Data/PokemonData.proto +0 -39
  282. data/lib/poke-api/POGOProtosSource/Enums/ActivityType.proto +0 -29
  283. data/lib/poke-api/POGOProtosSource/Enums/BadgeType.proto +0 -43
  284. data/lib/poke-api/POGOProtosSource/Enums/CameraInterpolation.proto +0 -10
  285. data/lib/poke-api/POGOProtosSource/Enums/CameraTarget.proto +0 -19
  286. data/lib/poke-api/POGOProtosSource/Enums/Gender.proto +0 -7
  287. data/lib/poke-api/POGOProtosSource/Enums/IapItemCategory.proto +0 -10
  288. data/lib/poke-api/POGOProtosSource/Enums/ItemCategory.proto +0 -17
  289. data/lib/poke-api/POGOProtosSource/Enums/ItemEffect.proto +0 -20
  290. data/lib/poke-api/POGOProtosSource/Enums/Platform.proto +0 -10
  291. data/lib/poke-api/POGOProtosSource/Enums/PokemonFamilyId.proto +0 -86
  292. data/lib/poke-api/POGOProtosSource/Enums/PokemonId.proto +0 -157
  293. data/lib/poke-api/POGOProtosSource/Enums/PokemonMove.proto +0 -185
  294. data/lib/poke-api/POGOProtosSource/Enums/PokemonMovementType.proto +0 -12
  295. data/lib/poke-api/POGOProtosSource/Enums/PokemonRarity.proto +0 -8
  296. data/lib/poke-api/POGOProtosSource/Enums/PokemonType.proto +0 -24
  297. data/lib/poke-api/POGOProtosSource/Enums/TeamColor.proto +0 -9
  298. data/lib/poke-api/POGOProtosSource/Enums/TutorialState.proto +0 -15
  299. data/lib/poke-api/POGOProtosSource/Inventory/AppliedItem.proto +0 -12
  300. data/lib/poke-api/POGOProtosSource/Inventory/AppliedItems.proto +0 -8
  301. data/lib/poke-api/POGOProtosSource/Inventory/EggIncubator.proto +0 -15
  302. data/lib/poke-api/POGOProtosSource/Inventory/EggIncubatorType.proto +0 -7
  303. data/lib/poke-api/POGOProtosSource/Inventory/EggIncubators.proto +0 -8
  304. data/lib/poke-api/POGOProtosSource/Inventory/InventoryDelta.proto +0 -10
  305. data/lib/poke-api/POGOProtosSource/Inventory/InventoryItem.proto +0 -10
  306. data/lib/poke-api/POGOProtosSource/Inventory/InventoryItemData.proto +0 -26
  307. data/lib/poke-api/POGOProtosSource/Inventory/InventoryUpgrade.proto +0 -11
  308. data/lib/poke-api/POGOProtosSource/Inventory/InventoryUpgradeType.proto +0 -8
  309. data/lib/poke-api/POGOProtosSource/Inventory/InventoryUpgrades.proto +0 -8
  310. data/lib/poke-api/POGOProtosSource/Inventory/Item/ItemAward.proto +0 -9
  311. data/lib/poke-api/POGOProtosSource/Inventory/Item/ItemData.proto +0 -10
  312. data/lib/poke-api/POGOProtosSource/Inventory/Item/ItemId.proto +0 -35
  313. data/lib/poke-api/POGOProtosSource/Inventory/Item/ItemType.proto +0 -18
  314. data/lib/poke-api/POGOProtosSource/Inventory/PokemonFamily.proto +0 -9
  315. data/lib/poke-api/POGOProtosSource/Map/Fort/FortData.proto +0 -45
  316. data/lib/poke-api/POGOProtosSource/Map/Fort/FortLureInfo.proto +0 -11
  317. data/lib/poke-api/POGOProtosSource/Map/Fort/FortModifier.proto +0 -10
  318. data/lib/poke-api/POGOProtosSource/Map/Fort/FortRenderingType.proto +0 -7
  319. data/lib/poke-api/POGOProtosSource/Map/Fort/FortSponsor.proto +0 -8
  320. data/lib/poke-api/POGOProtosSource/Map/Fort/FortSummary.proto +0 -9
  321. data/lib/poke-api/POGOProtosSource/Map/Fort/FortType.proto +0 -7
  322. data/lib/poke-api/POGOProtosSource/Map/MapCell.proto +0 -29
  323. data/lib/poke-api/POGOProtosSource/Map/MapObjectsStatus.proto +0 -8
  324. data/lib/poke-api/POGOProtosSource/Map/Pokemon/MapPokemon.proto +0 -14
  325. data/lib/poke-api/POGOProtosSource/Map/Pokemon/NearbyPokemon.proto +0 -10
  326. data/lib/poke-api/POGOProtosSource/Map/Pokemon/WildPokemon.proto +0 -14
  327. data/lib/poke-api/POGOProtosSource/Map/SpawnPoint.proto +0 -7
  328. data/lib/poke-api/POGOProtosSource/Networking/Envelopes/AuthTicket.proto +0 -8
  329. data/lib/poke-api/POGOProtosSource/Networking/Envelopes/RequestEnvelope.proto +0 -31
  330. data/lib/poke-api/POGOProtosSource/Networking/Envelopes/ResponseEnvelope.proto +0 -23
  331. data/lib/poke-api/POGOProtosSource/Networking/Envelopes/Unknown6.proto +0 -11
  332. data/lib/poke-api/POGOProtosSource/Networking/Envelopes/Unknown6Response.proto +0 -11
  333. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/AddFortModifierMessage.proto +0 -11
  334. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/AttackGymMessage.proto +0 -13
  335. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/CatchPokemonMessage.proto +0 -14
  336. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/CheckAwardedBadgesMessage.proto +0 -6
  337. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/CheckCodenameAvailableMessage.proto +0 -6
  338. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/ClaimCodenameMessage.proto +0 -6
  339. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/CollectDailyBonusMessage.proto +0 -6
  340. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/CollectDailyDefenderBonusMessage.proto +0 -6
  341. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/DiskEncounterMessage.proto +0 -9
  342. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/DownloadItemTemplatesMessage.proto +0 -6
  343. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/DownloadRemoteConfigVersionMessage.proto +0 -12
  344. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/DownloadSettingsMessage.proto +0 -6
  345. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/EchoMessage.proto +0 -6
  346. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/EncounterMessage.proto +0 -9
  347. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/EncounterTutorialCompleteMessage.proto +0 -8
  348. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/EquipBadgeMessage.proto +0 -8
  349. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/EvolvePokemonMessage.proto +0 -6
  350. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/FortDeployPokemonMessage.proto +0 -9
  351. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/FortDetailsMessage.proto +0 -8
  352. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/FortRecallPokemonMessage.proto +0 -9
  353. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/FortSearchMessage.proto +0 -10
  354. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/GetAssetDigestMessage.proto +0 -12
  355. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/GetDownloadUrlsMessage.proto +0 -7
  356. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/GetGymDetailsMessage.proto +0 -10
  357. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/GetHatchedEggsMessage.proto +0 -6
  358. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/GetIncensePokemonMessage.proto +0 -7
  359. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/GetInventoryMessage.proto +0 -7
  360. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/GetMapObjectsMessage.proto +0 -9
  361. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/GetPlayerMessage.proto +0 -6
  362. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/GetPlayerProfileMessage.proto +0 -6
  363. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/GetSuggestedCodenamesMessage.proto +0 -6
  364. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/IncenseEncounterMessage.proto +0 -7
  365. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/LevelUpRewardsMessage.proto +0 -6
  366. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/MarkTutorialCompleteMessage.proto +0 -10
  367. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/NicknamePokemonMessage.proto +0 -7
  368. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/PlayerUpdateMessage.proto +0 -7
  369. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/README.txt +0 -1
  370. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/RecycleInventoryItemMessage.proto +0 -9
  371. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/ReleasePokemonMessage.proto +0 -6
  372. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/SetAvatarMessage.proto +0 -8
  373. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/SetContactSettingsMessage.proto +0 -8
  374. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/SetFavoritePokemonMessage.proto +0 -7
  375. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/SetPlayerTeamMessage.proto +0 -8
  376. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/SfidaActionLogMessage.proto +0 -6
  377. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/StartGymBattleMessage.proto +0 -10
  378. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/UpgradePokemonMessage.proto +0 -6
  379. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/UseIncenseMessage.proto +0 -8
  380. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/UseItemCaptureMessage.proto +0 -10
  381. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/UseItemEggIncubatorMessage.proto +0 -7
  382. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/UseItemGymMessage.proto +0 -11
  383. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/UseItemPotionMessage.proto +0 -9
  384. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/UseItemReviveMessage.proto +0 -9
  385. data/lib/poke-api/POGOProtosSource/Networking/Requests/Messages/UseItemXpBoostMessage.proto +0 -8
  386. data/lib/poke-api/POGOProtosSource/Networking/Requests/Request.proto +0 -9
  387. data/lib/poke-api/POGOProtosSource/Networking/Requests/RequestType.proto +0 -79
  388. data/lib/poke-api/POGOProtosSource/Networking/Responses/AddFortModifierResponse.proto +0 -6
  389. data/lib/poke-api/POGOProtosSource/Networking/Responses/AttackGymResponse.proto +0 -20
  390. data/lib/poke-api/POGOProtosSource/Networking/Responses/CatchPokemonResponse.proto +0 -19
  391. data/lib/poke-api/POGOProtosSource/Networking/Responses/CheckAwardedBadgesResponse.proto +0 -10
  392. data/lib/poke-api/POGOProtosSource/Networking/Responses/CheckCodenameAvailableResponse.proto +0 -19
  393. data/lib/poke-api/POGOProtosSource/Networking/Responses/ClaimCodenameResponse.proto +0 -19
  394. data/lib/poke-api/POGOProtosSource/Networking/Responses/CollectDailyBonusResponse.proto +0 -13
  395. data/lib/poke-api/POGOProtosSource/Networking/Responses/CollectDailyDefenderBonusResponse.proto +0 -17
  396. data/lib/poke-api/POGOProtosSource/Networking/Responses/DiskEncounterResponse.proto +0 -20
  397. data/lib/poke-api/POGOProtosSource/Networking/Responses/DownloadItemTemplatesResponse.proto +0 -45
  398. data/lib/poke-api/POGOProtosSource/Networking/Responses/DownloadRemoteConfigVersionResponse.proto +0 -13
  399. data/lib/poke-api/POGOProtosSource/Networking/Responses/DownloadSettingsResponse.proto +0 -10
  400. data/lib/poke-api/POGOProtosSource/Networking/Responses/EchoResponse.proto +0 -6
  401. data/lib/poke-api/POGOProtosSource/Networking/Responses/EncounterResponse.proto +0 -28
  402. data/lib/poke-api/POGOProtosSource/Networking/Responses/EncounterTutorialCompleteResponse.proto +0 -17
  403. data/lib/poke-api/POGOProtosSource/Networking/Responses/EquipBadgeResponse.proto +0 -16
  404. data/lib/poke-api/POGOProtosSource/Networking/Responses/EvolvePokemonResponse.proto +0 -20
  405. data/lib/poke-api/POGOProtosSource/Networking/Responses/FortDeployPokemonResponse.proto +0 -25
  406. data/lib/poke-api/POGOProtosSource/Networking/Responses/FortDetailsResponse.proto +0 -23
  407. data/lib/poke-api/POGOProtosSource/Networking/Responses/FortRecallPokemonResponse.proto +0 -17
  408. data/lib/poke-api/POGOProtosSource/Networking/Responses/FortSearchResponse.proto +0 -23
  409. data/lib/poke-api/POGOProtosSource/Networking/Responses/GetAssetDigestResponse.proto +0 -9
  410. data/lib/poke-api/POGOProtosSource/Networking/Responses/GetDownloadUrlsResponse.proto +0 -9
  411. data/lib/poke-api/POGOProtosSource/Networking/Responses/GetGymDetailsResponse.proto +0 -18
  412. data/lib/poke-api/POGOProtosSource/Networking/Responses/GetHatchedEggsResponse.proto +0 -10
  413. data/lib/poke-api/POGOProtosSource/Networking/Responses/GetIncensePokemonResponse.proto +0 -20
  414. data/lib/poke-api/POGOProtosSource/Networking/Responses/GetInventoryResponse.proto +0 -9
  415. data/lib/poke-api/POGOProtosSource/Networking/Responses/GetMapObjectsResponse.proto +0 -10
  416. data/lib/poke-api/POGOProtosSource/Networking/Responses/GetPlayerProfileResponse.proto +0 -15
  417. data/lib/poke-api/POGOProtosSource/Networking/Responses/GetPlayerResponse.proto +0 -9
  418. data/lib/poke-api/POGOProtosSource/Networking/Responses/GetSuggestedCodenamesResponse.proto +0 -7
  419. data/lib/poke-api/POGOProtosSource/Networking/Responses/IncenseEncounterResponse.proto +0 -18
  420. data/lib/poke-api/POGOProtosSource/Networking/Responses/LevelUpRewardsResponse.proto +0 -17
  421. data/lib/poke-api/POGOProtosSource/Networking/Responses/MarkTutorialCompleteResponse.proto +0 -9
  422. data/lib/poke-api/POGOProtosSource/Networking/Responses/NicknamePokemonResponse.proto +0 -14
  423. data/lib/poke-api/POGOProtosSource/Networking/Responses/PlayerUpdateResponse.proto +0 -11
  424. data/lib/poke-api/POGOProtosSource/Networking/Responses/README.txt +0 -1
  425. data/lib/poke-api/POGOProtosSource/Networking/Responses/RecycleInventoryItemResponse.proto +0 -14
  426. data/lib/poke-api/POGOProtosSource/Networking/Responses/ReleasePokemonResponse.proto +0 -15
  427. data/lib/poke-api/POGOProtosSource/Networking/Responses/SetAvatarResponse.proto +0 -16
  428. data/lib/poke-api/POGOProtosSource/Networking/Responses/SetContactSettingsResponse.proto +0 -15
  429. data/lib/poke-api/POGOProtosSource/Networking/Responses/SetFavoritePokemonResponse.proto +0 -13
  430. data/lib/poke-api/POGOProtosSource/Networking/Responses/SetPlayerTeamResponse.proto +0 -16
  431. data/lib/poke-api/POGOProtosSource/Networking/Responses/SfidaActionLogResponse.proto +0 -14
  432. data/lib/poke-api/POGOProtosSource/Networking/Responses/StartGymBattleResponse.proto +0 -31
  433. data/lib/poke-api/POGOProtosSource/Networking/Responses/UpgradePokemonResponse.proto +0 -18
  434. data/lib/poke-api/POGOProtosSource/Networking/Responses/UseIncenseResponse.proto +0 -17
  435. data/lib/poke-api/POGOProtosSource/Networking/Responses/UseItemCaptureResponse.proto +0 -12
  436. data/lib/poke-api/POGOProtosSource/Networking/Responses/UseItemEggIncubatorResponse.proto +0 -20
  437. data/lib/poke-api/POGOProtosSource/Networking/Responses/UseItemGymResponse.proto +0 -14
  438. data/lib/poke-api/POGOProtosSource/Networking/Responses/UseItemPotionResponse.proto +0 -15
  439. data/lib/poke-api/POGOProtosSource/Networking/Responses/UseItemReviveResponse.proto +0 -15
  440. data/lib/poke-api/POGOProtosSource/Networking/Responses/UseItemXpBoostResponse.proto +0 -18
  441. data/lib/poke-api/POGOProtosSource/Networking/Responses/base.proto.txt +0 -2
  442. data/lib/poke-api/POGOProtosSource/Settings/DownloadSettingsAction.proto +0 -6
  443. data/lib/poke-api/POGOProtosSource/Settings/FortSettings.proto +0 -11
  444. data/lib/poke-api/POGOProtosSource/Settings/GlobalSettings.proto +0 -15
  445. data/lib/poke-api/POGOProtosSource/Settings/InventorySettings.proto +0 -10
  446. data/lib/poke-api/POGOProtosSource/Settings/LevelSettings.proto +0 -7
  447. data/lib/poke-api/POGOProtosSource/Settings/MapSettings.proto +0 -12
  448. data/lib/poke-api/POGOProtosSource/Settings/Master/BadgeSettings.proto +0 -10
  449. data/lib/poke-api/POGOProtosSource/Settings/Master/CameraSettings.proto +0 -24
  450. data/lib/poke-api/POGOProtosSource/Settings/Master/EncounterSettings.proto +0 -10
  451. data/lib/poke-api/POGOProtosSource/Settings/Master/EquippedBadgeSettings.proto +0 -8
  452. data/lib/poke-api/POGOProtosSource/Settings/Master/GymBattleSettings.proto +0 -19
  453. data/lib/poke-api/POGOProtosSource/Settings/Master/GymLevelSettings.proto +0 -9
  454. data/lib/poke-api/POGOProtosSource/Settings/Master/IapItemDisplay.proto +0 -13
  455. data/lib/poke-api/POGOProtosSource/Settings/Master/IapSettings.proto +0 -12
  456. data/lib/poke-api/POGOProtosSource/Settings/Master/Item/BattleAttributes.proto +0 -6
  457. data/lib/poke-api/POGOProtosSource/Settings/Master/Item/EggIncubatorAttributes.proto +0 -10
  458. data/lib/poke-api/POGOProtosSource/Settings/Master/Item/ExperienceBoostAttributes.proto +0 -7
  459. data/lib/poke-api/POGOProtosSource/Settings/Master/Item/FoodAttributes.proto +0 -10
  460. data/lib/poke-api/POGOProtosSource/Settings/Master/Item/FortModifierAttributes.proto +0 -7
  461. data/lib/poke-api/POGOProtosSource/Settings/Master/Item/IncenseAttributes.proto +0 -14
  462. data/lib/poke-api/POGOProtosSource/Settings/Master/Item/InventoryUpgradeAttributes.proto +0 -9
  463. data/lib/poke-api/POGOProtosSource/Settings/Master/Item/PokeballAttributes.proto +0 -11
  464. data/lib/poke-api/POGOProtosSource/Settings/Master/Item/PotionAttributes.proto +0 -7
  465. data/lib/poke-api/POGOProtosSource/Settings/Master/Item/ReviveAttributes.proto +0 -6
  466. data/lib/poke-api/POGOProtosSource/Settings/Master/ItemSettings.proto +0 -38
  467. data/lib/poke-api/POGOProtosSource/Settings/Master/MoveSequenceSettings.proto +0 -6
  468. data/lib/poke-api/POGOProtosSource/Settings/Master/MoveSettings.proto +0 -23
  469. data/lib/poke-api/POGOProtosSource/Settings/Master/PlayerLevelSettings.proto +0 -10
  470. data/lib/poke-api/POGOProtosSource/Settings/Master/Pokemon/CameraAttributes.proto +0 -10
  471. data/lib/poke-api/POGOProtosSource/Settings/Master/Pokemon/EncounterAttributes.proto +0 -16
  472. data/lib/poke-api/POGOProtosSource/Settings/Master/Pokemon/StatsAttributes.proto +0 -9
  473. data/lib/poke-api/POGOProtosSource/Settings/Master/PokemonSettings.proto +0 -35
  474. data/lib/poke-api/POGOProtosSource/Settings/Master/PokemonUpgradeSettings.proto +0 -9
  475. data/lib/poke-api/POGOProtosSource/Settings/Master/TypeEffectiveSettings.proto +0 -9
  476. data/lib/poke-api/POGOProtosSource/Signature.proto +0 -100
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 44e400f988fa8c9fac5ce45524b7479e1abc6122
4
- data.tar.gz: 747e7c6b71e2f2736d50eacdb8b9f535c7a9d8f0
3
+ metadata.gz: c43516f50725cfda3be25e7cb083dc9a35a4561d
4
+ data.tar.gz: a90012ee3e68fcd5b56ec7e8241b5a43acbd69ae
5
5
  SHA512:
6
- metadata.gz: 9293d55c4802524510183d77a3e2666e9522a74b4d50a58e519048a4773b37dd404b6a6fbe7382949ddc488bae6278da755386df2152be9475b885c1f3382600
7
- data.tar.gz: 9d290770cc439b156b6337b3a609b29e99718a6cbbe08e84ab4fae1fd7575611d2dd020b8f83a3dc78c92b339d195b849e0dd5cee127d3bc00b4b1fb9c8e34e0
6
+ metadata.gz: cc884ed1e40abf088e060386105d2e0efb38e3bc6da8c7edae696872a80038f864e43fed385c4ad42fe60285a1f6b5379581abdd9111c051d961b46c857b19c8
7
+ data.tar.gz: 9193798106a73642003697ae4d48ca0fe0fd8f43d45199006506f5f8aa30b40039013d27fe2d0c1de24eda268320d4fdfca125cc661a4ce884b32f9060c3d8b7
@@ -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/POGOProtos/Signature'
22
- require 'poke-api/POGOProtos/Networking/Envelopes/RequestEnvelope'
23
- require 'poke-api/POGOProtos/Networking/Envelopes/ResponseEnvelope'
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'
@@ -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
 
@@ -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
- @access_token = @client.post(PTC_LOGIN_OAUTH, data).body
64
- .match(/access_token=(.*)&expires/)[1]
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
@@ -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
- now_ms = (Time.now.to_f * 1000).to_i
41
- return true if now_ms < (@expire - 10000)
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
- @start = nil
45
- @ends = nil
47
+ @expire, @start, @ends = nil
48
+ logger.info '[+] Removed expired auth ticket'
46
49
  false
47
50
  end
48
51
  end
@@ -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
- raise Errors::InvalidProvider, provider unless %w(PTC GOOGLE).include?(provider)
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 })
@@ -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
@@ -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/Data/Capture/CaptureProbability.proto
2
+ # source: POGOProtos.Data.Capture.proto
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
- require 'poke-api/POGOProtos/Inventory/Item/ItemId'
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