protos/pogo0.431.0

Messageholoholo.rpc

MegaLevelUpOutProto

holoholo.rpc.MegaLevelUpOutProtoFile: holo_protos.protoC# type: Holoholo.Rpc.MegaLevelUpOutProto5 fieldsSince 0.431.0

Response of RPC method MEGA_LEVEL_UP (ID 3079). The request is MegaLevelUpProto.

No.FieldTypeTag
1resultMegaLevelUpOutProto.Result08
2mega_level_afterint3210
3mega_energy_balance_afterint3218
4total_mega_energy_costint3220
5updated_pokemonPokemonProto2a

Nested types

Used in (0)

No message has a field of this type. That is usual for RPC requests and responses, which travel on their own.

.proto source
// 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;
  }
}