# C_Roleset: 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_Roleset

## Functions

### C_Roleset.ApplyRolesetFilters

```lua
C_Roleset.ApplyRolesetFilters(blockedRolesets, allowedRolesets)
```

Sets or clears both blocklist and allowlist filters atomically with a single visibility reevaluation. Pass an empty table to clear the corresponding filter. Blocked for tainted callers while in combat lockdown.

Arguments:
- `blockedRolesets`: string[]
- `allowedRolesets`: string[]

### C_Roleset.GetActiveAllowedRolesets

```lua
allowedRolesets = C_Roleset.GetActiveAllowedRolesets()
```

Returns the rolesets in the currently active allowlist.

Returns:
- `allowedRolesets`: string[]

### C_Roleset.GetActiveBlockedRolesets

```lua
blockedRolesets = C_Roleset.GetActiveBlockedRolesets()
```

Returns the rolesets in the currently active blocklist.

Returns:
- `blockedRolesets`: string[]

---
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."
