# C_HeirloomInfo: 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_HeirloomInfo

## Functions

### C_HeirloomInfo.AreAllCollectionFiltersChecked

```lua
areAllCollectionFiltersChecked = C_HeirloomInfo.AreAllCollectionFiltersChecked()
```

Returns:
- `areAllCollectionFiltersChecked`: bool

### C_HeirloomInfo.AreAllSourceFiltersChecked

```lua
areAllSourceFiltersChecked = C_HeirloomInfo.AreAllSourceFiltersChecked()
```

Returns:
- `areAllSourceFiltersChecked`: bool

### C_HeirloomInfo.HeirloomsAvailable

```lua
areHeirloomsAvailable = C_HeirloomInfo.HeirloomsAvailable()
```

Returns:
- `areHeirloomsAvailable`: bool

### C_HeirloomInfo.IsHeirloomSourceValid

```lua
isHeirloomSourceValid = C_HeirloomInfo.IsHeirloomSourceValid(source)
```

Arguments:
- `source`: luaIndex

Returns:
- `isHeirloomSourceValid`: bool

### C_HeirloomInfo.IsUsingDefaultFilters

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

Returns:
- `isUsingDefaultFilters`: bool

### C_HeirloomInfo.SetAllCollectionFilters

```lua
C_HeirloomInfo.SetAllCollectionFilters(checked)
```

Arguments:
- `checked`: bool

### C_HeirloomInfo.SetAllSourceFilters

```lua
C_HeirloomInfo.SetAllSourceFilters(checked)
```

Arguments:
- `checked`: bool

### C_HeirloomInfo.SetDefaultFilters

```lua
C_HeirloomInfo.SetDefaultFilters()
```

## Events

### HEIRLOOM_UPGRADE_TARGETING_CHANGED

Payload, after the event's name:
- `pendingHeirloomUpgradeSpellcast`: bool

### HEIRLOOMS_UPDATED

Payload, after the event's name:
- `itemID`: number, may be nil
- `updateReason`: cstring, may be nil
- `hideUntilLearned`: 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."
