# C_ToyBoxInfo: 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_ToyBoxInfo

## Functions

### C_ToyBoxInfo.ClearFanfare

```lua
C_ToyBoxInfo.ClearFanfare(itemID)
```

Arguments:
- `itemID`: number

### C_ToyBoxInfo.HasAnyToy

```lua
hasToy = C_ToyBoxInfo.HasAnyToy()
```

Returns:
- `hasToy`: bool

### C_ToyBoxInfo.IsToySourceValid

```lua
isToySourceValid = C_ToyBoxInfo.IsToySourceValid(source)
```

Arguments:
- `source`: luaIndex

Returns:
- `isToySourceValid`: bool

### C_ToyBoxInfo.IsUsingDefaultFilters

```lua
isUsingDefaultFilters = C_ToyBoxInfo.IsUsingDefaultFilters()
```

Returns:
- `isUsingDefaultFilters`: bool

### C_ToyBoxInfo.NeedsFanfare

```lua
needsFanfare = C_ToyBoxInfo.NeedsFanfare(itemID)
```

Arguments:
- `itemID`: number

Returns:
- `needsFanfare`: bool

### C_ToyBoxInfo.SetDefaultFilters

```lua
C_ToyBoxInfo.SetDefaultFilters()
```

## Events

### NEW_TOY_ADDED

Payload, after the event's name:
- `itemID`: number

### TOYS_UPDATED

Payload, after the event's name:
- `itemID`: number, may be nil
- `isNew`: bool, may be nil
- `hasFanfare`: bool, may be nil

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