C_HeirloomInfo
namespaceavailable in: camelotStatus in wowlua
8 functions: 0 implemented, 2 recorded, 6 guessed. 2 events, 1 of them fired by the emulator on its own.
Functions
| function | what it does | status |
|---|---|---|
AreAllCollectionFiltersChecked | Whether all collected/uncollected filters of the heirloom journal are checked. · by wowlua(): boolean | guessed |
AreAllSourceFiltersChecked | Whether all source filters of the heirloom journal are checked. · by wowlua(): boolean | guessed |
HeirloomsAvailable | Whether heirlooms are available. · by wowlua(): boolean | recorded |
IsHeirloomSourceValid | Whether the heirloom source can be used as a filter. · by wowlua(source: number): boolean | recorded |
IsUsingDefaultFilters | Whether the heirloom journal's filters are at their defaults. · by wowlua(): boolean | guessed |
SetAllCollectionFilters | Checks or unchecks all collected/uncollected filters of the heirloom journal. · by wowlua(checked: boolean) | guessed |
SetAllSourceFilters | Checks or unchecks all source filters of the heirloom journal. · by wowlua(checked: boolean) | guessed |
SetDefaultFilters | Resets the heirloom journal's filters to their defaults. · by wowlua() | guessed |
"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.
Events
| event | payload | fired by the emulator |
|---|---|---|
HEIRLOOMS_UPDATED | itemID: number?, updateReason: string?, hideUntilLearned: boolean? | implemented |
HEIRLOOM_UPGRADE_TARGETING_CHANGED | pendingHeirloomUpgradeSpellcast: boolean | not implemented |
An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("HEIRLOOM_UPGRADE_TARGETING_CHANGED").
sources
Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (HeirloomInfo system, camelot 1.60.1). Descriptions: written by wowlua where no documentation describes the entry.