WoW API: GetCraftInfo

From AddOn Studio
Jump to navigation Jump to search

WoW API < GetCraftInfo

GetCraftInfo -Documentation by Dalf-
 craftName, craftSubSpellName, craftType, numAvailable, isExpanded, trainingPointCost, requiredLevel = GetCraftInfo(index)

Parameters

Arguments

index
Numeric - 1 to GetNumCrafts()

Returns

craftName
craftSubSpellName
craftType
String - "header" or something else
numAvailable
This is the number of enchants you can perform with the reagents you have in your inventory (the number is also shown in the UI).
isExpanded
trainingPointCost
This is the number of training points your pet needs to train this skill.
requiredLevel
The required level for your pet.