Messageholoholo.rpc
BattleActionProto
| No. | Field | Type | Tag |
|---|---|---|---|
| 1 | type | BattleActionProto.ActionType | 08 |
| 2 | action_start_ms | int64 | 10 |
| 3 | duration_ms | int32 | 18 |
| 5 | energy_delta | int32 | 28 |
| 6 | attacker_index | int32 | 30 |
| 7 | target_index | int32 | 38 |
| 8 | active_pokemon_id | fixed64 | 41 |
| 9 | joined_player | BattleParticipantProto | 4a |
| 10 | battle_results | BattleResultsProto | 52 |
| 11 | damage_window_start_ms | int64 | 58 |
| 12 | damage_window_end_ms | int64 | 60 |
| 13 | quit_player | BattleParticipantProto | 6a |
| 14 | target_pokemon_id | fixed64 | 71 |
| 15 | leveled_up_friends | LeveledUpFriendsProto | 7a |
| 16 | item | repeatedItem | 82 01 |
| 17 | trainer_ability | TrainerAbility | 88 01 |
| 18 | damage_move_type | HoloPokemonType | 90 01 |
Nested types
Used in (5)
- AttackRaidBattleProto.attacker_actions
- AttackRaidBattleProto.last_retrieved_action
- BattleLogProto.battle_actions
- GymBattleAttackProto.attacker_actions
- GymBattleAttackProto.last_retrieved_action
.proto source
// holo_protos.proto · package holoholo.rpc message BattleActionProto { ActionType type = 1; int64 action_start_ms = 2; int32 duration_ms = 3; int32 energy_delta = 5; int32 attacker_index = 6; int32 target_index = 7; fixed64 active_pokemon_id = 8; BattleParticipantProto joined_player = 9; BattleResultsProto battle_results = 10; int64 damage_window_start_ms = 11; int64 damage_window_end_ms = 12; BattleParticipantProto quit_player = 13; fixed64 target_pokemon_id = 14; LeveledUpFriendsProto leveled_up_friends = 15; repeated Item item = 16; TrainerAbility trainer_ability = 17; HoloPokemonType damage_move_type = 18; enum ActionType { ACTION_TYPE_UNSET = 0; ACTION_TYPE_ATTACK = 1; ACTION_TYPE_DODGE = 2; ACTION_TYPE_SPECIAL_ATTACK = 3; ACTION_TYPE_SWAP_POKEMON = 4; ACTION_TYPE_FAINT = 5; ACTION_TYPE_PLAYER_JOIN = 6; ACTION_TYPE_PLAYER_QUIT = 7; ACTION_TYPE_VICTORY = 8; ACTION_TYPE_DEFEAT = 9; ACTION_TYPE_TIMED_OUT = 10; ACTION_TYPE_SPECIAL_ATTACK2 = 11; ACTION_TYPE_USE_ITEM = 12; ACTION_TYPE_DISPLAY_CHANGE = 13; ACTION_TYPE_ACTIVATE_ABILITY = 14; } }