protos/pogo0.431.0

Mensagemholoholo.rpc

GymStartSessionOutProto

holoholo.rpc.GymStartSessionOutProtoFicheiro: holo_protos.protoTipo C#: Holoholo.Rpc.GymStartSessionOutProto2 camposDesde a 0.431.0

Resposta do método RPC GYM_START_SESSION (ID 157). O pedido é GymStartSessionProto.

NºCampoTipoTag
1resultGymStartSessionOutProto.Result08
2battleBattleProto12

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 GymStartSessionOutProto {
  Result result = 1;
  BattleProto battle = 2;

  enum Result {
    RESULT_UNSET = 0;
    RESULT_SUCCESS = 1;
    RESULT_ERROR_GYM_NOT_FOUND = 2;
    RESULT_ERROR_GYM_NEUTRAL = 3;
    RESULT_ERROR_GYM_WRONG_TEAM = 4;
    RESULT_ERROR_GYM_EMPTY = 5;
    RESULT_ERROR_INVALID_DEFENDER = 6;
    RESULT_ERROR_TRAINING_INVALID_ATTACKER_COUNT = 7;
    RESULT_ERROR_ALL_POKEMON_FAINTED = 8;
    RESULT_ERROR_TOO_MANY_BATTLES = 9;
    RESULT_ERROR_TOO_MANY_PLAYERS = 10;
    RESULT_ERROR_GYM_BATTLE_LOCKOUT = 11;
    RESULT_ERROR_PLAYER_BELOW_MINIMUM_LEVEL = 12;
    RESULT_ERROR_NOT_IN_RANGE = 13;
    RESULT_ERROR_POI_INACCESSIBLE = 14;
    RESULT_ERROR_RAID_ACTIVE = 15;
  }
}