WoW API: GetNumCrafts

From AddOn Studio
Revision as of 04:46, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API GetNumCrafts to API GetNumCrafts without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < GetNumCrafts

numberOfCrafts = GetNumCrafts();

This function returns the number of crafts in the currently opened crafting window. Usually used to loop through all available crafts to perfom API GetCraftInfo on them.