protos/pogo0.431.0

Messageholoholo.rpc

CombatLeagueProto

holoholo.rpc.CombatLeagueProtoFile: holo_protos.protoC# type: Holoholo.Rpc.CombatLeagueProto15 fieldsSince 0.431.0

No.FieldTypeTag
1titlestring0a
2enabledbool10
3unlock_conditionrepeatedCombatLeagueProto.UnlockConditionProto1a
4pokemon_conditionrepeatedCombatLeagueProto.PokemonConditionProto22
5icon_urlstring2a
6pokemon_countint3230
7banned_pokemonrepeatedHoloPokemonId3a
8badge_typeHoloBadgeType40
9minigame_defense_chance_limitint3248
10battle_party_combat_league_template_idstring52
11league_typeCombatLeagueProto.LeagueType58
12border_color_hexstring62
13allow_temp_evosbool68
14combat_experimentrepeatedCombatExperiment72
16allow_temp_evo_cp_downscalingbool80 01

Nested types

Used in (1)

.proto source
// holo_protos.proto · package holoholo.rpc
message CombatLeagueProto {
  string title = 1;
  bool enabled = 2;
  repeated UnlockConditionProto unlock_condition = 3;
  repeated PokemonConditionProto pokemon_condition = 4;
  string icon_url = 5;
  int32 pokemon_count = 6;
  repeated HoloPokemonId banned_pokemon = 7;
  HoloBadgeType badge_type = 8;
  int32 minigame_defense_chance_limit = 9;
  string battle_party_combat_league_template_id = 10;
  LeagueType league_type = 11;
  string border_color_hex = 12;
  bool allow_temp_evos = 13;
  repeated CombatExperiment combat_experiment = 14;
  bool allow_temp_evo_cp_downscaling = 16;

  enum ConditionType {
    CONDITION_TYPE_UNSET = 0;
    CONDITION_TYPE_WITH_POKEMON_CP_LIMIT = 1;
    CONDITION_TYPE_WITH_PLAYER_LEVEL = 2;
    CONDITION_TYPE_WITH_POKEMON_TYPE = 3;
    CONDITION_TYPE_WITH_POKEMON_CATEGORY = 4;
    CONDITION_TYPE_WITH_UNIQUE_POKEMON = 5;
    CONDITION_TYPE_POKEMON_WHITELIST = 6;
    CONDITION_TYPE_POKEMON_BANLIST = 7;
    CONDITION_TYPE_POKEMON_CAUGHT_TIMESTAMP = 8;
    CONDITION_TYPE_POKEMON_LEVEL_RANGE = 9;
  }

  enum LeagueType {
    LEAGUE_TYPE_NONE = 0;
    LEAGUE_TYPE_STANDARD = 1;
    LEAGUE_TYPE_PREMIER = 2;
  }

  message PokemonBanlist {
    string name = 1;
    repeated PokemonWithForm pokemon = 2;
    PokemonGroupConditionProto group_condition = 3;
  }

  message PokemonCaughtTimestamp {
    int64 after_timestamp = 1;
    int64 before_timestamp = 2;
  }

  message PokemonConditionProto {
    ConditionType type = 1;
    oneof condition {
      WithPokemonCpLimitProto with_pokemon_cp_limit = 2;
      WithPokemonTypeProto with_pokemon_type = 3;
      WithPokemonCategoryProto with_pokemon_category = 4;
      PokemonWhitelist pokemon_whitelist = 5;
      PokemonBanlist pokemon_banlist = 6;
      PokemonCaughtTimestamp pokemon_caught_timestamp = 7;
      PokemonLevelRange pokemon_level_range = 8;
    }
  }

  message PokemonGroupConditionProto {
    repeated PokedexNumberRange pokedex_range = 1;
    bool can_evolve = 2;
    bool has_mega = 3;
    bool is_evolved = 4;
    repeated HoloPokemonClass pokemon_class = 5;
    repeated PokemonDisplayProto.Alignment alignment = 6;
    repeated HoloPokemonSize pokemon_size = 7;

    message PokedexNumberRange {
      int32 start = 1;
      int32 end = 2;
    }
  }

  message PokemonLevelRange {
    int32 min_level = 1;
    int32 max_level = 2;
  }

  message PokemonWhitelist {
    string name = 1;
    repeated PokemonWithForm pokemon = 2;
    PokemonGroupConditionProto group_condition = 3;
  }

  message PokemonWithForm {
    HoloPokemonId id = 1;
    PokemonDisplayProto.Form form = 2;
    repeated PokemonDisplayProto.Form forms = 3;
  }

  message UnlockConditionProto {
    ConditionType type = 1;
    int32 min_pokemon_count = 2;
    oneof condition {
      WithPlayerLevelProto with_player_level = 3;
      WithPokemonCpLimitProto with_pokemon_cp_limit = 4;
      WithPokemonTypeProto with_pokemon_type = 5;
      WithPokemonCategoryProto with_pokemon_category = 6;
      PokemonWhitelist pokemon_whitelist = 7;
      PokemonBanlist pokemon_banlist = 8;
      PokemonCaughtTimestamp pokemon_caught_timestamp = 9;
      PokemonLevelRange pokemon_level_range = 10;
    }
  }
}