API:GetCraftItem

__NOTOC__ 
; local numItem = GetCraftItem( craftType, craftSubType, -1 )
; local CatalogID, CraftItemName, CraftItemAct, CraftitemOBJID, Quality, LimitLevel, CanUse, CoolDown, CDTime = GetCraftItem( craftType, craftSubType, itemIndex )
===Parameter===
* craftType - number - crafting skill (see GetCraftItemType)
: valid: 1 to GetCraftItemList(-1)
* craftSubType - number - section in the crafting skill (see GetCraftSubType)
: the first group is ALL. So you can use 1 if you don't care about the SubType
* itemIndex - number - index of the item in the sub-section, or -1 to see how many items there are 
===Return===
Returns basic info about a craft item. The GUID is used for other functions, like GetCraftRequestItem
===Remarks===
Using illegal parameter values may crash the game.Use GetCraftItemList, GetCraftSubType, and GetCraftItem(craftType, craftSubType, -1) to make sure you don't go out of bounds
===Example===
See GetCraftRequestItem for example
Category:Functions