Mensagemholoholo.rpc
UpgradePokemonOutProto
Resposta do método RPC UPGRADE_POKEMON (ID 147). O pedido é UpgradePokemonProto.
| Nº | Campo | Tipo | Tag |
|---|---|---|---|
| 1 | result | UpgradePokemonOutProto.Result | 08 |
| 2 | upgraded_pokemon | PokemonProto | 12 |
| 3 | next_upgraded_pokemon | PokemonProto | 1a |
| 4 | bulk_upgrades_cost_table | repeatedUpgradePokemonOutProto.BulkUpgradesCost | 22 |
| 5 | awarded_items | repeatedLootProto | 2a |
Tipos aninhados
Usado em (0)
Nenhuma mensagem tem um campo deste tipo. Costuma ser o caso dos pedidos e respostas de RPC, que circulam sozinhos.
Código .proto
// holo_protos.proto · package holoholo.rpc message UpgradePokemonOutProto { Result result = 1; PokemonProto upgraded_pokemon = 2; PokemonProto next_upgraded_pokemon = 3; repeated BulkUpgradesCost bulk_upgrades_cost_table = 4; repeated LootProto awarded_items = 5; message BulkUpgradesCost { int32 number_of_upgrades = 1; int32 pokemon_level = 2; int32 pokemon_cp = 3; int32 total_stardust_cost = 4; int32 total_candy_cost = 5; float total_cp_multiplier = 6; int32 total_xl_candy_cost = 7; } enum Result { RESULT_UNSET = 0; RESULT_SUCCESS = 1; RESULT_ERROR_POKEMON_NOT_FOUND = 2; RESULT_ERROR_INSUFFICIENT_RESOURCES = 3; RESULT_ERROR_UPGRADE_NOT_AVAILABLE = 4; RESULT_ERROR_POKEMON_IS_DEPLOYED = 5; RESULT_ERROR_DUPLICATE_REQUEST = 6; RESULT_ERROR_FUSION_COMPONENT_POKEMON = 7; } }