v0.13.8

C_ScrappingMachineUI

namespaceavailable in: camelot

Status in wowlua

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

Functions

functionwhat it doesstatus
CloseScrappingMachineCloses the scrapping machine. · by wowlua
()
guessed
DropPendingScrapItemFromCursorPlaces the item on the cursor into a slot of the scrapping machine. · by wowlua
(index: number)
guessed
GetCurrentPendingScrapItemLocationByIndexReturns the location of the item in a scrapping machine slot. · by wowlua
(index: number): ItemLocationMixin?
guessed
GetScrapSpellIDReturns the ID of the spell used to scrap items. · by wowlua
(): number
guessed
GetScrappingMachineNameReturns the name of the open scrapping machine. · by wowlua
(): string?
guessed
HasScrappableItemsWhether the player has items that can be scrapped. · by wowlua
(): boolean
guessed
RemoveAllScrapItemsRemoves all items from the scrapping machine. · by wowlua
()
guessed
RemoveCurrentScrappingItemRemoves the item currently being scrapped from the scrapping machine. · by wowlua
()
guessed
RemoveItemToScrapRemoves the item in a slot of the scrapping machine. · by wowlua
(index: number)
guessed
ScrapItemsScraps the items placed in the scrapping machine. · by wowlua
()
guessed
ValidateScrappingListChecks the items placed in the scrapping machine. · 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
SCRAPPING_MACHINE_ITEM_ADDEDindex: numbernot implemented
SCRAPPING_MACHINE_ITEM_REMOVEDindex: numbernot implemented
SCRAPPING_MACHINE_PENDING_ITEM_CHANGEDno payloadnot implemented
SCRAPPING_MACHINE_SCRAPPING_FINISHEDno payloadnot implemented

An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("SCRAPPING_MACHINE_ITEM_ADDED").

sources

Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (ScrappingMachineUI system, camelot 1.60.1). Descriptions: written by wowlua where no documentation describes the entry.