WoW API: GetNumCrafts

From AddOn Studio
Revision as of 21:22, 12 August 2008 by WoWWiki>Gourra
Jump to navigation Jump to search

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