WoW:API GetCraftInfo: Difference between revisions

m
Move page script moved page API GetCraftInfo to WoW:API GetCraftInfo without leaving a redirect
(-Credit to Dalf (look at the history for contributors), changed 'materials' to 'reagents')
m (Move page script moved page API GetCraftInfo to WoW:API GetCraftInfo without leaving a redirect)
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{removedapi|3.0|Crafting API was absorbed into [[World of Warcraft API#TradeSkill Functions|Tradeskill API]].
* Equivalent function: {{api|GetTradeSkillInfo}}.}}
{{wowapi}}
{{wowapi}}
<center>'''GetCraftInfo''' </center>
   craftName, craftSubSpellName, craftType, numAvailable, isExpanded, trainingPointCost, requiredLevel = GetCraftInfo(index)
   craftName, craftSubSpellName, craftType, numAvailable, isExpanded, trainingPointCost, requiredLevel = GetCraftInfo(index)


Line 18: Line 19:
:;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).
:;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 wether they are expanded or contracted.  Nil if not applicable.
:;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.
:;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.
:;requiredLevel : The required level to train this skill if at a trainer. Nil if the craft window is not a trainer.
Anonymous user