Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
craftName, craftSubSpellName, craftType, numAvailable, isExpanded, trainingPointCost, requiredLevel = GetCraftInfo(index)
Parameters[]
Arguments[]
- index
- number - 1 to GetNumCrafts()
Returns[]
- craftName
- Name of the item you can craft
- craftSubSpellName
- craftType
- string - "header" or how hard it is to create the item; trivial, easy, medium or optimal.
- numAvailable
- This is the number of items you can create with the reagents you have in your inventory (the number is also shown in the UI).
- isExpanded
- Only applies to headers. Indicates whether they are expanded or contracted. Nil if not applicable.
- trainingPointCost
- This is the number of training points needed to train this skill if at a trainer. Nil if the craft window is not a trainer.
- requiredLevel
- The required level to train this skill if at a trainer. Nil if the craft window is not a trainer.
Patch changes[]
Patch 3.0.2 (2008-10-14): Removed.