Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
mNo edit summary
(removedapi)
Line 1: Line 1:
  +
{{removedapi|3.0|Crafting API was absorbed into [[World of Warcraft API#TradeSkill Functions|Tradeskill API]].
  +
* Equivalent function: {{api|GetNumTradeSkills}}}}
 
{{wowapi}}
 
{{wowapi}}
 
numberOfCrafts = GetNumCrafts();
 
numberOfCrafts = GetNumCrafts();
 
Removed in 3.0, use GetNumTradeSkills() instead.
 
   
 
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.
 
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.
 
----
 
<small>This is part of the [[World of Warcraft API]]</small>
 

Revision as of 13:21, 28 May 2009

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.