protos/pogo0.431.0

Mensagemholoholo.rpc

UpgradePokemonOutProto

holoholo.rpc.UpgradePokemonOutProtoFicheiro: holo_protos.protoTipo C#: Holoholo.Rpc.UpgradePokemonOutProto5 camposDesde a 0.431.0

Resposta do método RPC UPGRADE_POKEMON (ID 147). O pedido é UpgradePokemonProto.

NºCampoTipoTag
1resultUpgradePokemonOutProto.Result08
2upgraded_pokemonPokemonProto12
3next_upgraded_pokemonPokemonProto1a
4bulk_upgrades_cost_tablerepeatedUpgradePokemonOutProto.BulkUpgradesCost22
5awarded_itemsrepeatedLootProto2a

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