C_TooltipComparison
namespaceavailable in: camelotStatus in wowlua
3 functions: 0 implemented, 0 recorded, 3 guessed. 1 events, 0 of them fired by the emulator on its own.
Functions
| function | what it does | status |
|---|---|---|
CompareItem | Shows item comparison tooltips for the given item next to the tooltip. · by wowlua(comparisonItem: TooltipComparisonItem, tooltip: Tooltip, anchorFrame: Frame?) | guessed |
GetItemComparisonDelta | Returns the stat differences between the given item and an equipped item, as lines of text. · by wowlua(comparisonItem: TooltipComparisonItem, equippedItem: TooltipComparisonItem, pairedItem: TooltipComparisonItem?, addPairedStats: boolean?): string[]? | guessed |
GetItemComparisonInfo | Returns which equipped items the given item is compared with. · by wowlua(comparisonItem: TooltipComparisonItem): TooltipItemComparisonInfo? | 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 |
|---|---|---|
TOOLTIP_SHOW_ITEM_COMPARISON | comparisonItem: TooltipComparisonItem, tooltip: Tooltip, anchorFrame: Frame? | not implemented |
An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("TOOLTIP_SHOW_ITEM_COMPARISON").
Structures
TooltipItemComparisonInfo· method, item, additionalItems
sources
Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (TooltipComparison system, camelot 1.60.1). Descriptions: written by wowlua where no documentation describes the entry.