protos/pogo0.431.0

Mensagemholoholo.rpc

MegaLevelUpOutProto

holoholo.rpc.MegaLevelUpOutProtoFicheiro: holo_protos.protoTipo C#: Holoholo.Rpc.MegaLevelUpOutProto5 camposDesde a 0.431.0

Resposta do método RPC MEGA_LEVEL_UP (ID 3079). O pedido é MegaLevelUpProto.

NºCampoTipoTag
1resultMegaLevelUpOutProto.Result08
2mega_level_afterint3210
3mega_energy_balance_afterint3218
4total_mega_energy_costint3220
5updated_pokemonPokemonProto2a

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;
  }
}