C_ScrappingMachineUI
namespaceavailable in: camelotStatus in wowlua
11 functions: 0 implemented, 0 recorded, 11 guessed. 4 events, 0 of them fired by the emulator on its own.
Functions
| function | what it does | status |
|---|---|---|
CloseScrappingMachine | Closes the scrapping machine. · by wowlua() | guessed |
DropPendingScrapItemFromCursor | Places the item on the cursor into a slot of the scrapping machine. · by wowlua(index: number) | guessed |
GetCurrentPendingScrapItemLocationByIndex | Returns the location of the item in a scrapping machine slot. · by wowlua(index: number): ItemLocationMixin? | guessed |
GetScrapSpellID | Returns the ID of the spell used to scrap items. · by wowlua(): number | guessed |
GetScrappingMachineName | Returns the name of the open scrapping machine. · by wowlua(): string? | guessed |
HasScrappableItems | Whether the player has items that can be scrapped. · by wowlua(): boolean | guessed |
RemoveAllScrapItems | Removes all items from the scrapping machine. · by wowlua() | guessed |
RemoveCurrentScrappingItem | Removes the item currently being scrapped from the scrapping machine. · by wowlua() | guessed |
RemoveItemToScrap | Removes the item in a slot of the scrapping machine. · by wowlua(index: number) | guessed |
ScrapItems | Scraps the items placed in the scrapping machine. · by wowlua() | guessed |
ValidateScrappingList | Checks 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
| event | payload | fired by the emulator |
|---|---|---|
SCRAPPING_MACHINE_ITEM_ADDED | index: number | not implemented |
SCRAPPING_MACHINE_ITEM_REMOVED | index: number | not implemented |
SCRAPPING_MACHINE_PENDING_ITEM_CHANGED | no payload | not implemented |
SCRAPPING_MACHINE_SCRAPPING_FINISHED | no payload | not 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.