Open main menu
Home
Random
Log in
Settings
About AddOn Studio
Disclaimers
AddOn Studio
Search
Editing
WoW:API GetCraftInfo
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{removedapi|3.0|Crafting API was absorbed into [[World of Warcraft API#TradeSkill Functions|Tradeskill API]]. * Equivalent function: {{api|GetTradeSkillInfo}}.}} {{wowapi}} craftName, craftSubSpellName, craftType, numAvailable, isExpanded, trainingPointCost, requiredLevel = GetCraftInfo(index) == Parameters == === Arguments === :;index : Numeric - 1 to [[API GetNumCrafts|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.
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Ambox
(
edit
)
Template:Api
(
edit
)
Template:Apinav
(
edit
)
Template:Editlink
(
edit
)
Template:Removedapi
(
edit
)
Template:Tocright
(
edit
)
Template:WoW/removedapi
(
edit
)
Template:Wowapi
(
edit
)