WowAddons

World of Warcraft Forever API · C_ScrappingMachineUI.md, for your AI

C_ScrappingMachineUI

11 functions, 4 events, as Blizzard documents them for Forever 1.60.1 (70959).

Making an addon with an AI? Tell it: Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it. It checks every call against this API before you try it in the game, then publishes it here. How it works.

Functions

C_ScrappingMachineUI.CloseScrappingMachine

C_ScrappingMachineUI.CloseScrappingMachine()

C_ScrappingMachineUI.DropPendingScrapItemFromCursor

C_ScrappingMachineUI.DropPendingScrapItemFromCursor(index)

Arguments

indexnumber

C_ScrappingMachineUI.GetCurrentPendingScrapItemLocationByIndex

itemLoc = C_ScrappingMachineUI.GetCurrentPendingScrapItemLocationByIndex(index)

May return nothing.

Arguments

indexnumber

Returns

itemLocItemLocation

C_ScrappingMachineUI.GetScrapSpellID

spellID = C_ScrappingMachineUI.GetScrapSpellID()

Returns

spellIDnumber

C_ScrappingMachineUI.GetScrappingMachineName

name = C_ScrappingMachineUI.GetScrappingMachineName()

May return nothing.

Returns

namestring

C_ScrappingMachineUI.HasScrappableItems

hasScrappableItems = C_ScrappingMachineUI.HasScrappableItems()

Returns

hasScrappableItemsbool

C_ScrappingMachineUI.RemoveAllScrapItems

C_ScrappingMachineUI.RemoveAllScrapItems()

C_ScrappingMachineUI.RemoveCurrentScrappingItem

C_ScrappingMachineUI.RemoveCurrentScrappingItem()

C_ScrappingMachineUI.RemoveItemToScrap

C_ScrappingMachineUI.RemoveItemToScrap(index)

Arguments

indexnumber

C_ScrappingMachineUI.ScrapItems

C_ScrappingMachineUI.ScrapItems()

C_ScrappingMachineUI.ValidateScrappingList

C_ScrappingMachineUI.ValidateScrappingList()

Events

SCRAPPING_MACHINE_ITEM_ADDED

indexnumber

SCRAPPING_MACHINE_ITEM_REMOVED

indexnumber

SCRAPPING_MACHINE_PENDING_ITEM_CHANGED

No payload.

SCRAPPING_MACHINE_SCRAPPING_FINISHED

No payload.

It takes WowAddons

Free, for Windows, macOS and Linux: it puts the addon in your game in one click and keeps it up to date. Open it once, then press Install again.

WowAddons runs on your computer: open wowaddons.gg there.

Download for Windows