protos/pogo0.431.0

Messageholoholo.rpc

UpgradePokemonOutProto

holoholo.rpc.UpgradePokemonOutProtoFile: holo_protos.protoC# type: Holoholo.Rpc.UpgradePokemonOutProto5 fieldsSince 0.431.0

Response of RPC method UPGRADE_POKEMON (ID 147). The request is UpgradePokemonProto.

No.FieldTypeTag
1resultUpgradePokemonOutProto.Result08
2upgraded_pokemonPokemonProto12
3next_upgraded_pokemonPokemonProto1a
4bulk_upgrades_cost_tablerepeatedUpgradePokemonOutProto.BulkUpgradesCost22
5awarded_itemsrepeatedLootProto2a

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