Mensagemholoholo.rpc
ChangePokemonFormOutProto
Resposta do método RPC CHANGE_POKEMON_FORM (ID 1722). O pedido é ChangePokemonFormProto.
| Nº | Campo | Tipo | Tag |
|---|---|---|---|
| 1 | result | ChangePokemonFormOutProto.Result | 08 |
| 2 | changed_pokemon | PokemonProto | 12 |
| 3 | exp_awarded | int32 | 18 |
| 4 | candy_awarded | int32 | 20 |
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 ChangePokemonFormOutProto { Result result = 1; PokemonProto changed_pokemon = 2; int32 exp_awarded = 3; int32 candy_awarded = 4; enum Result { RESULT_UNSET = 0; RESULT_SUCCESS = 1; RESULT_ERROR_POKEMON_MISSING = 2; RESULT_ERROR_INSUFFICIENT_RESOURCES = 3; RESULT_ERROR_QUEST_INCOMPLETE = 4; RESULT_ERROR_POKEMON_CANNOT_CHANGE = 5; RESULT_ERROR_POKEMON_DEPLOYED = 6; RESULT_ERROR_FEATURE_DISABLED = 7; RESULT_ERROR_UNKNOWN = 8; } }