v0.13.8

C_ItemInteraction

namespaceavailable in: camelot

Status in wowlua

10 functions: 0 implemented, 0 recorded, 10 guessed. 2 events, 0 of them fired by the emulator on its own.

Functions

functionwhat it doesstatus
ClearPendingItemRemoves the item placed in the item interaction frame. · by wowlua
()
guessed
CloseUICloses the item interaction frame. · by wowlua
()
guessed
GetChargeInfoReturns the charges of the current item interaction. · by wowlua
(): ItemInteractionChargeInfo
guessed
GetItemConversionCurrencyCostReturns the currency cost of converting the item. · by wowlua
(item: ItemLocationMixin): ConversionCurrencyCost
guessed
GetItemInteractionInfoReturns information about the open item interaction frame. · by wowlua
(): ItemInteractionFrameInfo?
guessed
GetItemInteractionSpellIdReturns the ID of the spell the current item interaction casts. · by wowlua
(): number
guessed
InitializeFramePrepares the item interaction frame for use. · by wowlua
()
guessed
PerformItemInteractionPerforms the item interaction on the placed item. · by wowlua
()
guessed
ResetResets the item interaction frame. · by wowlua
()
guessed
SetPendingItemPlaces 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

eventpayloadfired by the emulator
ITEM_INTERACTION_CHARGE_INFO_UPDATEDno payloadnot implemented
ITEM_INTERACTION_ITEM_SELECTION_UPDATEDitemLocation: 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, amount
  • ItemInteractionChargeInfo · newChargeAmount, rechargeRate, timeToNextCharge
  • ItemInteractionFrameInfo · 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.