WoW:API GetNumCrafts: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
  numberOfCrafts = GetNumCrafts();
  numberOfCrafts = GetNumCrafts();


Removed in 3.0.
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.

Revision as of 20:52, 10 August 2008

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 is part of the World of Warcraft API