protos/pogo0.431.0

Mensagemholoholo.rpc

EncounterOutProto

holoholo.rpc.EncounterOutProtoFicheiro: holo_protos.protoTipo C#: Holoholo.Rpc.EncounterOutProto8 camposDesde a 0.431.0

Resposta do método RPC ENCOUNTER (ID 102). O pedido é EncounterProto.

NºCampoTipoTag
1pokemonWildPokemonProto0a
2backgroundEncounterOutProto.Background10
3statusEncounterOutProto.Status18
4capture_probabilityCaptureProbabilityProto22
5active_itemItem28
6arplus_attempts_until_fleeint3230
7background_visual_detailBackgroundVisualDetailProto3a
8appraisal_starint3240

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 EncounterOutProto {
  WildPokemonProto pokemon = 1;
  Background background = 2;
  Status status = 3;
  CaptureProbabilityProto capture_probability = 4;
  Item active_item = 5;
  int32 arplus_attempts_until_flee = 6;
  BackgroundVisualDetailProto background_visual_detail = 7;
  int32 appraisal_star = 8;

  enum Background {
    BACKGROUND_PARK = 0;
    BACKGROUND_DESERT = 1;
    BACKGROUND_BEACH = 2;
    BACKGROUND_LAKE = 3;
    BACKGROUND_RIVER = 4;
    BACKGROUND_OCEAN = 5;
  }

  enum Status {
    STATUS_ENCOUNTER_ERROR = 0;
    STATUS_ENCOUNTER_SUCCESS = 1;
    STATUS_ENCOUNTER_NOT_FOUND = 2;
    STATUS_ENCOUNTER_CLOSED = 3;
    STATUS_ENCOUNTER_POKEMON_FLED = 4;
    STATUS_ENCOUNTER_NOT_IN_RANGE = 5;
    STATUS_ENCOUNTER_ALREADY_HAPPENED = 6;
    STATUS_POKEMON_INVENTORY_FULL = 7;
  }
}