Mensagemholoholo.rpc
MegaLevelUpOutProto
Resposta do método RPC MEGA_LEVEL_UP (ID 3079). O pedido é MegaLevelUpProto.
| Nº | Campo | Tipo | Tag |
|---|---|---|---|
| 1 | result | MegaLevelUpOutProto.Result | 08 |
| 2 | mega_level_after | int32 | 10 |
| 3 | mega_energy_balance_after | int32 | 18 |
| 4 | total_mega_energy_cost | int32 | 20 |
| 5 | updated_pokemon | PokemonProto | 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 MegaLevelUpOutProto { Result result = 1; int32 mega_level_after = 2; int32 mega_energy_balance_after = 3; int32 total_mega_energy_cost = 4; PokemonProto updated_pokemon = 5; enum Result { RESULT_UNSET = 0; RESULT_SUCCESS = 1; RESULT_ERROR_POKEMON_NOT_FOUND = 2; RESULT_ERROR_POKEMON_CANNOT_LEVEL_UP = 3; RESULT_ERROR_REQUESTED_LEVEL_NOT_ALLOWED = 4; RESULT_ERROR_DUPLICATE_REQUEST = 5; RESULT_ERROR_LEVEL_UP_NOT_AVAILABLE = 6; RESULT_ERROR_INSUFFICIENT_RESOURCES = 7; } }