# C_CombatLogSecure: World of Warcraft Forever API

Forever 1.60.1 (70959), Interface 16001, Lua 5.1, from Blizzard's own API documentation. Page: https://wowaddons.gg/forever-api/C_CombatLogSecure

## Functions

### C_CombatLogSecure.AddEventFilter

```lua
C_CombatLogSecure.AddEventFilter()
```

### C_CombatLogSecure.ClearEventFilters

```lua
C_CombatLogSecure.ClearEventFilters()
```

### C_CombatLogSecure.CreateCombatLogMessage

```lua
C_CombatLogSecure.CreateCombatLogMessage(message, colorR, colorG, colorB, order)
```

Arguments:
- `message`: string
- `colorR`: number
- `colorG`: number
- `colorB`: number
- `order`: CombatLogMessageOrder

### C_CombatLogSecure.GetCurrentEntryInfo

```lua
C_CombatLogSecure.GetCurrentEntryInfo()
```

### C_CombatLogSecure.GetCurrentEventInfo

```lua
C_CombatLogSecure.GetCurrentEventInfo()
```

### C_CombatLogSecure.GetEntryCount

```lua
count = C_CombatLogSecure.GetEntryCount([ignoreFilter])
```

Arguments:
- `ignoreFilter`: bool, default false

Returns:
- `count`: number

### C_CombatLogSecure.SeekToNewestEntry

```lua
isValidEntry = C_CombatLogSecure.SeekToNewestEntry([ignoreFilter])
```

Arguments:
- `ignoreFilter`: bool, default false

Returns:
- `isValidEntry`: bool

### C_CombatLogSecure.SeekToPreviousEntry

```lua
isValidEntry = C_CombatLogSecure.SeekToPreviousEntry([ignoreFilter])
```

Arguments:
- `ignoreFilter`: bool, default false

Returns:
- `isValidEntry`: bool

### C_CombatLogSecure.ShouldShowCurrentEntry

```lua
shouldShow = C_CombatLogSecure.ShouldShowCurrentEntry()
```

Returns:
- `shouldShow`: bool

## Events

### COMBAT_LOG_APPLY_FILTER_SETTINGS

Payload, after the event's name:
- `filterSettings`: LuaValueVariant

### COMBAT_LOG_MESSAGE

Payload, after the event's name:
- `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.

---
Make an addon with your 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."
