World of Warcraft Forever API · C_CombatLogSecure.md, for your AI
C_CombatLogSecure
9 functions, 3 events, as Blizzard documents them for Forever 1.60.1 (70959).
Making an addon with an AI? Tell it: Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it. It checks every call against this API before you try it in the game, then publishes it here. How it works.
Functions
C_CombatLogSecure.AddEventFilter
C_CombatLogSecure.AddEventFilter()
C_CombatLogSecure.ClearEventFilters
C_CombatLogSecure.ClearEventFilters()
C_CombatLogSecure.CreateCombatLogMessage
C_CombatLogSecure.CreateCombatLogMessage(message, colorR, colorG, colorB, order)
Arguments
message | string | |
|---|---|---|
colorR | number | |
colorG | number | |
colorB | number | |
order | CombatLogMessageOrder |
C_CombatLogSecure.GetCurrentEntryInfo
C_CombatLogSecure.GetCurrentEntryInfo()
C_CombatLogSecure.GetCurrentEventInfo
C_CombatLogSecure.GetCurrentEventInfo()
C_CombatLogSecure.GetEntryCount
count = C_CombatLogSecure.GetEntryCount([ignoreFilter])
Arguments
ignoreFilter | bool default false |
|---|
Returns
count | number |
|---|
C_CombatLogSecure.SeekToNewestEntry
isValidEntry = C_CombatLogSecure.SeekToNewestEntry([ignoreFilter])
Arguments
ignoreFilter | bool default false |
|---|
Returns
isValidEntry | bool |
|---|
C_CombatLogSecure.SeekToPreviousEntry
isValidEntry = C_CombatLogSecure.SeekToPreviousEntry([ignoreFilter])
Arguments
ignoreFilter | bool default false |
|---|
Returns
isValidEntry | bool |
|---|
C_CombatLogSecure.ShouldShowCurrentEntry
shouldShow = C_CombatLogSecure.ShouldShowCurrentEntry()
Returns
shouldShow | bool |
|---|
Events
COMBAT_LOG_APPLY_FILTER_SETTINGS
filterSettings | LuaValueVariant |
|---|
COMBAT_LOG_MESSAGE
message | string | A preformatted combat log message protected by a |K string wrapper. |
|---|---|---|
colorR | number | |
colorG | number | |
colorB | number | |
order | CombatLogMessageOrder |
COMBAT_LOG_REFILTER_ENTRIES
No payload.