WoW:API GetNumCrafts: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
m (Move page script moved page API GetNumCrafts to API GetNumCrafts without leaving a redirect)
 
(6 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{API/Uncategorized}}
{{removedapi|3.0|Crafting API was absorbed into [[World of Warcraft API#TradeSkill Functions|Tradeskill API]].
* Equivalent function: {{api|GetNumTradeSkills}}}}
{{wowapi}}
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.

Latest revision as of 04:46, 15 August 2023

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.