Messageholoholo.rpc
CombatProto
| No. | Field | Type | Tag |
|---|---|---|---|
| 1 | combat_state | CombatProto.CombatState | 08 |
| 2 | combat_id | string | 12 |
| 3 | player | CombatProto.CombatPlayerProto | 1a |
| 4 | opponent | CombatProto.CombatPlayerProto | 22 |
| 5 | combat_start_ms | int64 | 28 |
| 6 | combat_end_ms | int64 | 30 |
| 7 | server_ms | int64 | 38 |
| 8 | current_turn | int32 | 40 |
| 9 | turn_start_ms | int64 | 48 |
| 10 | minigame_end_ms | int64 | 50 |
| 11 | minigame_submit_score_end_ms | int64 | 58 |
| 12 | change_pokemon_end_ms | int64 | 60 |
| 13 | quick_swap_cooldown_duration_ms | int64 | 68 |
| 14 | state_change_delay_until_turn | int64 | 70 |
| 15 | minigame_data | CombatProto.MinigameProto | 7a |
| 16 | combat_request_counter | int32 | 80 01 |
| 17 | opponent_triggered | bool | 88 01 |
| 18 | opponent_request_counter | int32 | 90 01 |
Nested types
Used in (5)
- OpenCombatSessionOutProto.combat
- OpenInvasionCombatSessionOutProto.combat
- OpenNpcCombatSessionOutProto.combat
- QuitCombatOutProto.combat
- UpdateCombatOutProto.combat
.proto source
// holo_protos.proto · package holoholo.rpc message CombatProto { CombatState combat_state = 1; string combat_id = 2; CombatPlayerProto player = 3; CombatPlayerProto opponent = 4; int64 combat_start_ms = 5; int64 combat_end_ms = 6; int64 server_ms = 7; int32 current_turn = 8; int64 turn_start_ms = 9; int64 minigame_end_ms = 10; int64 minigame_submit_score_end_ms = 11; int64 change_pokemon_end_ms = 12; int64 quick_swap_cooldown_duration_ms = 13; int64 state_change_delay_until_turn = 14; MinigameProto minigame_data = 15; int32 combat_request_counter = 16; bool opponent_triggered = 17; int32 opponent_request_counter = 18; message CombatIbfcPokemonFormTrackerProto { repeated PokemonDisplayProto.Form form = 1; bool is_shiny = 2; } message CombatPlayerProto { PlayerPublicProfileProto public_profile = 1; CombatPokemonProto active_pokemon = 2; repeated CombatPokemonProto reserve_pokemon = 3; repeated CombatPokemonProto fainted_pokemon = 4; CombatActionProto current_action = 5; bool lockstep_ack = 6; int32 last_updated_turn = 7; CombatActionProto minigame_action = 8; int64 quick_swap_available_ms = 9; int32 minigame_defense_chances_left = 10; string combat_npc_personality_id = 11; int32 times_combat_actions_called = 12; int64 lobby_join_time_ms = 13; int32 super_effective_charge_attacks_used = 14; CombatActionProto.ActionType last_snapshot_action_type = 15; CombatPokemonProto last_active_pokemon = 16; map<int32, CombatIbfcPokemonFormTrackerProto> ibfc_form_tracker = 17; ChargeAttackDataProto charge_attack_data = 18; } message CombatPokemonIbfcProto { int32 animation_play_turn = 1; IbfcVfxKey vfx_key = 2; AnimationPlayPoint animation_play_point = 3; int32 updated_flyout_duration_turns = 4; int32 ibfc_trigger_move = 5; } message CombatPokemonProto { fixed64 pokemon_id = 1; int32 pokedex_id = 2; int32 cp = 3; float cp_multiplier = 4; int32 stamina = 5; int32 max_stamina = 6; int32 move1 = 7; int32 move2 = 8; int32 move3 = 9; int32 energy = 10; PokemonDisplayProto pokemon_display = 11; int32 individual_attack = 12; int32 individual_defense = 13; int32 individual_stamina = 14; int32 attack_stat_stage = 15; int32 defense_stat_stage = 16; int32 battles_won = 17; int32 battles_lost = 18; string nickname = 19; Item pokeball = 20; float height_m = 21; float weight_kg = 22; HoloPokemonSize pokemon_size = 23; repeated VsActionHistory notable_action_history = 24; repeated VsEffectTag vs_effect_tag = 25; CombatPokemonIbfcProto combat_pokemon_ibfc = 26; } enum CombatState { COMBAT_STATE_UNSET = 0; COMBAT_STATE_WAITING_FOR_PLAYERS = 1; COMBAT_STATE_READY = 2; COMBAT_STATE_ACTIVE = 3; COMBAT_STATE_SPECIAL_ATTACK = 4; COMBAT_STATE_WAITING_FOR_CHANGE_POKEMON = 5; COMBAT_STATE_FINISHED = 6; COMBAT_STATE_PLAYER_QUIT = 7; COMBAT_STATE_TIMEOUT = 8; COMBAT_STATE_SYNC = 9; } message GetCombatDownscaledStatsOutProto { repeated DownscaledStatsEntry entries = 1; Result result = 2; message DownscaledStatsEntry { fixed64 inventory_pokemon_id = 1; HoloTemporaryEvolutionId temp_evolution_id = 2; string combat_league_template_id = 3; int32 cp = 4; } enum Result { RESULT_UNSET = 0; RESULT_SUCCESS = 1; RESULT_FAILURE = 2; RESULT_ERROR_POKEMON_ID_NOT_FOUND = 3; RESULT_ERROR_COMBAT_LEAGUE_INVALID = 4; } } message GetCombatDownscaledStatsProto { repeated string combat_league_template_ids = 1; repeated fixed64 inventory_pokemon_ids = 2; } message MinigameProto { int64 minigame_end_ms = 1; int64 minigame_submit_score_end_ms = 2; int32 fly_in_completion_turn = 3; int32 fly_out_completion_turn = 4; repeated FormRenderModifier render_modifiers = 5; } }