C_ItemInteraction
namespaceavailable in: camelotStatus in wowlua
10 functions: 0 implemented, 0 recorded, 10 guessed. 2 events, 0 of them fired by the emulator on its own.
Functions
| function | what it does | status |
|---|---|---|
ClearPendingItem | Removes the item placed in the item interaction frame. · by wowlua() | guessed |
CloseUI | Closes the item interaction frame. · by wowlua() | guessed |
GetChargeInfo | Returns the charges of the current item interaction. · by wowlua(): ItemInteractionChargeInfo | guessed |
GetItemConversionCurrencyCost | Returns the currency cost of converting the item. · by wowlua(item: ItemLocationMixin): ConversionCurrencyCost | guessed |
GetItemInteractionInfo | Returns information about the open item interaction frame. · by wowlua(): ItemInteractionFrameInfo? | guessed |
GetItemInteractionSpellId | Returns the ID of the spell the current item interaction casts. · by wowlua(): number | guessed |
InitializeFrame | Prepares the item interaction frame for use. · by wowlua() | guessed |
PerformItemInteraction | Performs the item interaction on the placed item. · by wowlua() | guessed |
Reset | Resets the item interaction frame. · by wowlua() | guessed |
SetPendingItem | Places an item in the item interaction frame and returns whether it was accepted. · by wowlua(item: ItemLocationMixin?): boolean | 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 |
|---|---|---|
ITEM_INTERACTION_CHARGE_INFO_UPDATED | no payload | not implemented |
ITEM_INTERACTION_ITEM_SELECTION_UPDATED | itemLocation: ItemLocationMixin? | not implemented |
An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("ITEM_INTERACTION_CHARGE_INFO_UPDATED").
Structures
ConversionCurrencyCost· currencyID, amountItemInteractionChargeInfo· newChargeAmount, rechargeRate, timeToNextChargeItemInteractionFrameInfo· textureKit, openSoundKitID, closeSoundKitID, titleText, tutorialText, buttonText, interactionType, flags, description?, buttonTooltip?, confirmationDescription?, slotTooltip?, cost?, currencyTypeId?, dropInSlotSoundKitId?
sources
Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (ItemInteractionUI system, camelot 1.60.1). Descriptions: written by wowlua where no documentation describes the entry.