World of Warcraft Forever API · C_HeirloomInfo.md, for your AI
C_HeirloomInfo
8 functions, 2 events, as Blizzard documents them for Forever 1.60.1 (70959).
Making an addon with an 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. It checks every call against this API before you try it in the game, then publishes it here. How it works.
Functions
C_HeirloomInfo.AreAllCollectionFiltersChecked
areAllCollectionFiltersChecked = C_HeirloomInfo.AreAllCollectionFiltersChecked()
Returns
areAllCollectionFiltersChecked | bool |
|---|
C_HeirloomInfo.AreAllSourceFiltersChecked
areAllSourceFiltersChecked = C_HeirloomInfo.AreAllSourceFiltersChecked()
Returns
areAllSourceFiltersChecked | bool |
|---|
C_HeirloomInfo.HeirloomsAvailable
areHeirloomsAvailable = C_HeirloomInfo.HeirloomsAvailable()
Returns
areHeirloomsAvailable | bool |
|---|
C_HeirloomInfo.IsHeirloomSourceValid
isHeirloomSourceValid = C_HeirloomInfo.IsHeirloomSourceValid(source)
Arguments
source | luaIndex |
|---|
Returns
isHeirloomSourceValid | bool |
|---|
C_HeirloomInfo.IsUsingDefaultFilters
isUsingDefaultFilters = C_HeirloomInfo.IsUsingDefaultFilters()
Returns
isUsingDefaultFilters | bool |
|---|
C_HeirloomInfo.SetAllCollectionFilters
C_HeirloomInfo.SetAllCollectionFilters(checked)
Arguments
checked | bool |
|---|
C_HeirloomInfo.SetAllSourceFilters
C_HeirloomInfo.SetAllSourceFilters(checked)
Arguments
checked | bool |
|---|
C_HeirloomInfo.SetDefaultFilters
C_HeirloomInfo.SetDefaultFilters()
Events
HEIRLOOM_UPGRADE_TARGETING_CHANGED
pendingHeirloomUpgradeSpellcast | bool |
|---|
HEIRLOOMS_UPDATED
itemID | number may be nil | |
|---|---|---|
updateReason | cstring may be nil | |
hideUntilLearned | bool may be nil |