local k={}k.EVENT_PLAYER_HERO_IN_GAME="\105\110\118\107\095\112\108\097\121\101\114\095\104\101\114\111\095\105\110\095\103\097\109\101"k.EVENT_PLAYER_QUIT_REQUEST="\105\110\118\107\095\112\108\097\121\101\114\095\113\117\105\116\095\114\101\113\117\101\115\116"k.EVENT_COMBOS_RELOAD="\105\110\118\107\095\099\111\109\098\111\115\095\114\101\108\111\097\100"k.EVENT_COMBO_START="\105\110\118\107\095\099\111\109\098\111\095\115\116\097\114\116"k.EVENT_COMBO_STARTED="\105\110\118\107\095\099\111\109\098\111\095\115\116\097\114\116\101\100"k.EVENT_COMBO_STOP="\105\110\118\107\095\099\111\109\098\111\095\115\116\111\112"k.EVENT_COMBO_STOPPED="\105\110\118\107\095\099\111\109\098\111\095\115\116\111\112\112\101\100"k.EVENT_COMBO_IN_PROGRESS="\105\110\118\107\095\099\111\109\098\111\095\105\110\095\112\114\111\103\114\101\115\115"k.EVENT_COMBO_PROGRESS="\105\110\118\107\095\099\111\109\098\111\095\112\114\111\103\114\101\115\115"k.EVENT_COMBO_STEP_ERROR="\105\110\118\107\095\099\111\109\098\111\095\115\116\101\112\095\101\114\114\111\114"k.EVENT_COMBO_PRE_FINISH="\105\110\118\107\095\099\111\109\098\111\095\112\114\101\095\102\105\110\105\115\104"k.EVENT_COMBO_FINISHED="\105\110\118\107\095\099\111\109\098\111\095\102\105\110\105\115\104\101\100"k.EVENT_COMBO_RESTART="\105\110\118\107\095\099\111\109\098\111\095\114\101\115\116\097\114\116"k.EVENT_FREESTYLE_HERO_LEVEL_UP="\105\110\118\107\095\102\114\101\101\115\116\121\108\101\095\104\101\114\111\095\108\101\118\101\108\095\117\112"k.EVENT_COMBAT_LOG_CAPTURE_START="\105\110\118\107\095\099\111\109\098\097\116\095\108\111\103\095\099\097\112\116\117\114\101\095\115\116\097\114\116"k.EVENT_COMBAT_LOG_CAPTURE_STOP="\105\110\118\107\095\099\111\109\098\097\116\095\108\111\103\095\099\097\112\116\117\114\101\095\115\116\111\112"k.EVENT_COMBAT_LOG_ABILITY_USED="\105\110\118\107\095\099\111\109\098\097\116\095\108\111\103\095\097\098\105\108\105\116\121\095\117\115\101\100"k.EVENT_COMBAT_LOG_CLEAR="\105\110\118\107\095\099\111\109\098\097\116\095\108\111\103\095\099\108\101\097\114"k.EVENT_ITEM_PICKER_QUERY_REQUEST="\105\110\118\107\095\105\116\101\109\095\112\105\099\107\101\114\095\113\117\101\114\121\095\114\101\113\117\101\115\116"k.EVENT_ITEM_PICKER_QUERY_RESPONSE="\105\110\118\107\095\105\116\101\109\095\112\105\099\107\101\114\095\113\117\101\114\121\095\114\101\115\112\111\110\115\101"return k
--- Custom event names.
-- @module invokation.const.custom_events
local M = {}

--- Player
-- @section player

--- Payload for event `EVENT_PLAYER_HERO_IN_GAME`
-- @table PlayerHeroInGame

--- Player picked a hero
M.EVENT_PLAYER_HERO_IN_GAME = "invk_player_hero_in_game"

--- Payload for event `EVENT_PLAYER_QUIT_REQUEST`
-- @table PlayerQuitRequest

--- Player requested to leave
M.EVENT_PLAYER_QUIT_REQUEST = "invk_player_quit_request"

--- Combos
-- @section combos

--- Payload for event `EVENT_COMBOS_RELOAD`
-- @table CombosReloadPayload

--- Reload combos
M.EVENT_COMBOS_RELOAD = "invk_combos_reload"

--- Payload for event `EVENT_COMBO_START`
-- @table ComboStartPayload
-- @tfield int id Combo id

--- Start combo
M.EVENT_COMBO_START = "invk_combo_start"

--- Payload for event `EVENT_COMBO_STARTED`
-- @table ComboStartedPayload
-- @tfield int id Combo id
-- @tfield[opt] {int,...} next Next steps ids

--- Combo started
M.EVENT_COMBO_STARTED = "invk_combo_started"

--- Payload for event `EVENT_COMBO_STOP`
-- @table ComboStopPayload

--- Stop combo
M.EVENT_COMBO_STOP = "invk_combo_stop"

--- Payload for event `EVENT_COMBO_STOPPED`
-- @table ComboStoppedPayload
-- @tfield int id Combo id

--- Combo stopped
M.EVENT_COMBO_STOPPED = "invk_combo_stopped"

--- Payload for event `EVENT_COMBO_IN_PROGRESS`
-- @table ComboInProgressPayload
-- @tfield int id Combo id

--- Combo in progress
M.EVENT_COMBO_IN_PROGRESS = "invk_combo_in_progress"

--- Payload for event `EVENT_COMBO_PROGRESS`
-- @table ComboProgressPayload
-- @tfield int id Combo id
-- @tfield {[string]=number} metrics Combo metrics
-- @tfield[opt] {int,...} next Next steps ids

--- Combo progress
M.EVENT_COMBO_PROGRESS = "invk_combo_progress"

--- Payload for event `EVENT_COMBO_STEP_ERROR`
-- @table ComboStepErrorPayload
-- @tfield int id Combo id
-- @tfield {int,...} expected Expected steps ids
-- @tfield string ability Ability name

--- Combo step error
M.EVENT_COMBO_STEP_ERROR = "invk_combo_step_error"

--- Payload for event `EVENT_COMBO_PRE_FINISH`
-- @table ComboPreFinishPayload
-- @tfield int id Combo id
-- @tfield {[string]=number} metrics Combo metrics
-- @tfield int wait Time to wait before combo finishes

--- Combo pre finish
M.EVENT_COMBO_PRE_FINISH = "invk_combo_pre_finish"

--- Payload for event `EVENT_COMBO_FINISHED`
-- @table ComboFinishedPayload
-- @tfield int id Combo id
-- @tfield {[string]=number} metrics Combo metrics

--- Combo finished
M.EVENT_COMBO_FINISHED = "invk_combo_finished"

--- Payload for event `EVENT_COMBO_RESTART`
-- @table ComboRestartPayload
-- @tfield[opt=0] int hardReset Perform hard reset (`1`: yes, `0`: no)

--- Restart combo
M.EVENT_COMBO_RESTART = "invk_combo_restart"

--- Freestyle
-- @section freestyle

--- Payload for event `EVENT_FREESTYLE_HERO_LEVEL_UP`
-- @table FreestyleHeroLevelUpPayload
-- @tfield[opt] int level Level up to specified level
-- @tfield[opt=0] int maxLevel Level up to max level (`1`: yes, `0`: no)

--- Freestyle hero level up
M.EVENT_FREESTYLE_HERO_LEVEL_UP = "invk_freestyle_hero_level_up"

--- Combat Log
-- @section combat_log

--- Payload for event `EVENT_COMBAT_LOG_CAPTURE_START`
-- @table CombatLogCaptureStartPayload

--- Start capturing combat log
M.EVENT_COMBAT_LOG_CAPTURE_START = "invk_combat_log_capture_start"

--- Payload for event `EVENT_COMBAT_LOG_CAPTURE_STOP`
-- @table CombatLogCaptureStopPayload

--- Stop capturing combat log
M.EVENT_COMBAT_LOG_CAPTURE_STOP = "invk_combat_log_capture_stop"

--- Payload for event `EVENT_COMBAT_LOG_ABILITY_USED`
-- @table CombatLogAbilityUsedPayload

--- Combat log ability used
M.EVENT_COMBAT_LOG_ABILITY_USED = "invk_combat_log_ability_used"

--- Payload for event `EVENT_COMBAT_LOG_CLEAR`
-- @table CombatLogClearPayload

--- Clear combat log
M.EVENT_COMBAT_LOG_CLEAR = "invk_combat_log_clear"

--- Item Picker
-- @section item_picker

--- Payload for event `EVENT_ITEM_PICKER_QUERY`
-- @table ItemPickerQueryPayload
-- @tfield string query Query

--- Item picker query
M.EVENT_ITEM_PICKER_QUERY_REQUEST = "invk_item_picker_query_request"

--- Payload for event `EVENT_ITEM_PICKER_QUERY_RESPONSE`
-- @table ItemPickerQueryResponsePayload
-- @tfield {[string]=table,...} items Items found

--- Item picker query response
M.EVENT_ITEM_PICKER_QUERY_RESPONSE = "invk_item_picker_query_response"

return M
