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
@@ -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/Settings/Master/Pokemon/EncounterAttributes.proto
2
+ # source: POGOProtos.Settings.Master.Pokemon.proto
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
- require 'poke-api/POGOProtos/Enums/PokemonMovementType'
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 = (Time.now.to_f * 1000).to_i
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
- logger.info '[+] Using Auth ticket'
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 Provider token'
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 set_signature(req, _request_envelope)
68
- signature = ::Signature.new(
69
- location_hash1: Helpers.generate_location_one(req.auth_ticket.to_proto, @position),
70
- location_hash2: Helpers.generate_location_two(@position),
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
- logger.info '[+] Setting Signature'
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