Files
wow_Meta/api/CombatLogGetCurrentEntry.lua
2025-05-04 14:35:26 +02:00

15 lines
1007 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@param ignoreFilter boolean
---@return number timestamp
---@return string event
---@return string srcGUID
---@return string srcName
---@return number srcFlags
---@return string destGUID
---@return string destName
---@return number destFlags
---@return list ...
---Returns the combat log event information for the current entry and advances to the next entry. See COMBAT_LOG_EVENT for details of the event information. The combat log maintains a "cursor" in the list of entries; this function returns information about the event at the cursor position and advances the cursor to the next entry. Since this function is used by the default UI's combat log display, the cursor position is usually at the end of the log -- calling it thus returns nothing. The function CombatLogSetCurrentEntry() can be used to "rewind" the combat log cursor, enabling retrieval of information about earlier events.
function CombatLogGetCurrentEntry(ignoreFilter) end