v0.13.8

C_MerchantFrame

namespaceavailable in: camelot

Status in wowlua

7 functions: 6 implemented, 0 recorded, 1 guessed. 4 events, 4 of them fired by the emulator on its own.

Functions

functionwhat it doesstatus
GetBuybackItemIDReturns the ID of an item on the vendor's buyback tab. · by wowlua
(buybackSlotIndex: number): number?
implemented
GetItemInfoReturns info for a merchant item.
(index: number): MerchantItemInfo?
implemented
GetMerchantCurrenciesReturns the IDs of the currencies the open vendor uses. · by wowlua
(): number[]?
implemented
GetNumJunkItemsReturns the number of poor quality items in the player's bags. · by wowlua
(): number
implemented
IsMerchantItemRefundableReturns if an item is refundable.
(index: number): boolean
implemented
IsSellAllJunkEnabledWhether the vendor's sell all junk button is available. · by wowlua
(): boolean
implemented
SellAllJunkItemsSells every poor quality item in the player's bags to the open vendor. · by wowlua
()
guessed

"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.

Events

eventpayloadfired by the emulator
MERCHANT_CLOSEDno payloadimplemented
MERCHANT_FILTER_ITEM_UPDATEitemID: numberimplemented
MERCHANT_SHOWno payloadimplemented
MERCHANT_UPDATEno payloadimplemented

Structures

  • MerchantItemInfo · name?, texture, price, stackCount, numAvailable, isPurchasable, isUsable, hasExtendedCost, currencyID?, spellID?, isQuestStartItem

sources

Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (MerchantFrame system, camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗; written by wowlua where no documentation describes the entry.