Get desktop application:
View/edit binary Protocol Buffers messages
Used in: BattleLog, networking.requests.messages.AttackGymMessage
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
optional BattleResults battle_results = 10
int64 damage_windows_start_timestamp_mss = 11
int64 damage_windows_end_timestamp_mss = 12
fixed64 target_pokemon_id = 14
Used in: BattleAction
ACTION_UNSET = 0
ACTION_ATTACK = 1
ACTION_DODGE = 2
ACTION_SPECIAL_ATTACK = 3
ACTION_SWAP_POKEMON = 4
ACTION_FAINT = 5
ACTION_PLAYER_JOIN = 6
ACTION_PLAYER_QUIT = 7
ACTION_VICTORY = 8
ACTION_DEFEAT = 9
ACTION_TIMED_OUT = 10
Used in: networking.responses.AttackGymResponse, networking.responses.StartGymBattleResponse
int64 server_ms = 3
repeated BattleAction battle_actions = 4
int64 battle_start_timestamp_ms = 5
int64 battle_end_timestamp_ms = 6
Used in: BattleAction, BattleResults, networking.responses.StartGymBattleResponse
Used in: BattleParticipant, networking.responses.AttackGymResponse
optional PokemonData pokemon_data = 1
int32 current_health = 2
int32 current_energy = 3
Used in: BattleAction
repeated int32 player_experience_awarded = 3
int64 next_defender_pokemon_id = 4
int32 gym_points_delta = 5
Used in: BattleLog
STATE_UNSET = 0
ACTIVE = 1
VICTORY = 2
DEFEATED = 3
TIMED_OUT = 4
Used in: BattleLog
BATTLE_TYPE_UNSET = 0
BATTLE_TYPE_NORMAL = 1
BATTLE_TYPE_TRAINING = 2