WowAddons

World of Warcraft Forever API · C_CombatLog.md, for your AI

C_CombatLog

11 functions, 4 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_CombatLog.ApplyFilterSettings

C_CombatLog.ApplyFilterSettings(filterSettings)

Arguments

filterSettingsLuaValueVariant

C_CombatLog.AreFilteredEventsEnabled

enabled = C_CombatLog.AreFilteredEventsEnabled()

Returns

enabledbool

C_CombatLog.ClearEntries

C_CombatLog.ClearEntries()

C_CombatLog.DoesObjectMatchFilter

matches = C_CombatLog.DoesObjectMatchFilter(mask, flags)

Arguments

maskCombatLogObject
flagsCombatLogObject

Returns

matchesbool

C_CombatLog.GetEntryRetentionTime

retentionTime = C_CombatLog.GetEntryRetentionTime()

Returns

retentionTimenumber

C_CombatLog.GetMessageLimit

messageLimit = C_CombatLog.GetMessageLimit()

Returns

messageLimitnumber

C_CombatLog.IsCombatLogRestricted

restricted = C_CombatLog.IsCombatLogRestricted()

Returns

restrictedbool

C_CombatLog.RefilterEntries

C_CombatLog.RefilterEntries()

C_CombatLog.SetEntryRetentionTime

C_CombatLog.SetEntryRetentionTime(retentionTime)

Arguments

retentionTimenumber

C_CombatLog.SetFilteredEventsEnabled

C_CombatLog.SetFilteredEventsEnabled(enabled)

Arguments

enabledbool

C_CombatLog.SetMessageLimit

C_CombatLog.SetMessageLimit(messageLimit)

Arguments

messageLimitnumber

Events

COMBAT_LOG_ENTRIES_CLEARED

No payload.

COMBAT_LOG_EVENT

No payload.

COMBAT_LOG_EVENT_UNFILTERED

No payload.

COMBAT_LOG_MESSAGE_LIMIT_CHANGED

messageLimitnumber

It takes WowAddons

Free, for Windows, macOS and Linux: it puts the addon in your game in one click and keeps it up to date. Open it once, then press Install again.

WowAddons runs on your computer: open wowaddons.gg there.

Download for Windows