C_CombatLog
namespaceavailable in: camelotStatus in wowlua
11 functions: 1 implemented, 0 recorded, 10 guessed. 4 events, 0 of them fired by the emulator on its own.
Functions
| function | what it does | status |
|---|---|---|
ApplyFilterSettings | Applies a set of combat log filter settings. · by wowlua(filterSettings: LuaValueVariant) | guessed |
AreFilteredEventsEnabled | Whether combat log event filtering is enabled. · by wowlua(): boolean | guessed |
ClearEntries | Clears all entries from the combat log. · by wowlua() | guessed |
DoesObjectMatchFilter | Whether a unit's combat log flags match a filter mask in each group: affiliation, reaction, controller and type. · by wowlua(mask: CombatLogObject, flags: CombatLogObject): boolean | implemented |
GetEntryRetentionTime | Returns how long combat log entries are kept. · by wowlua(): number | guessed |
GetMessageLimit | Returns the maximum number of messages the combat log keeps. · by wowlua(): number | guessed |
IsCombatLogRestricted | Whether the combat log is currently restricted. · by wowlua(): boolean | guessed |
RefilterEntries | Applies the current filter to the combat log entries again. · by wowlua() | guessed |
SetEntryRetentionTime | Sets how long combat log entries are kept. · by wowlua(retentionTime: number) | guessed |
SetFilteredEventsEnabled | Enables or disables combat log event filtering. · by wowlua(enabled: boolean) | guessed |
SetMessageLimit | Sets the maximum number of messages the combat log keeps. · by wowlua(messageLimit: number) | guessed |
"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.
Events
| event | payload | fired by the emulator |
|---|---|---|
COMBAT_LOG_ENTRIES_CLEARED | no payload | not implemented |
COMBAT_LOG_EVENT | no payload | not implemented |
COMBAT_LOG_EVENT_UNFILTERED | no payload | not implemented |
COMBAT_LOG_MESSAGE_LIMIT_CHANGED | messageLimit: number | not implemented |
An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("COMBAT_LOG_ENTRIES_CLEARED").
sources
Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (CombatLog system, camelot 1.60.1). Descriptions: written by wowlua where no documentation describes the entry.