protos/pogo0.431.0

Messageholoholo.rpc

BattleActionProto

holoholo.rpc.BattleActionProtoFile: holo_protos.protoC# type: Holoholo.Rpc.BattleActionProto17 fieldsSince 0.431.0

No.FieldTypeTag
1typeBattleActionProto.ActionType08
2action_start_msint6410
3duration_msint3218
5energy_deltaint3228
6attacker_indexint3230
7target_indexint3238
8active_pokemon_idfixed6441
9joined_playerBattleParticipantProto4a
10battle_resultsBattleResultsProto52
11damage_window_start_msint6458
12damage_window_end_msint6460
13quit_playerBattleParticipantProto6a
14target_pokemon_idfixed6471
15leveled_up_friendsLeveledUpFriendsProto7a
16itemrepeatedItem82 01
17trainer_abilityTrainerAbility88 01
18damage_move_typeHoloPokemonType90 01

Nested types

Used in (5)

.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;
  }
}