Wikia

WoWWiki

Changes: API GetCraftNumReagents

Edit

Back to page

m
(removedapi)
 
Line 1: Line 1:
  +
{{removedapi|3.0|Crafting API was absorbed into [[World of Warcraft API#TradeSkill Functions|Tradeskill API]].}}
 
{{wowapi}}
 
{{wowapi}}
 
This command tells the caller how many reagents are required for said craft.
 
This command tells the caller how many reagents are required for said craft.

Latest revision as of 13:18, May 28, 2009

WoW API < GetCraftNumReagents

This command tells the caller how many reagents are required for said craft.

numRequiredReagents = GetCraftNumReagents(index)

Parameters Edit

Arguments Edit

index 
Numeric. Number from 1 to X, where X is the total number of possible crafts.

Returns Edit

numRequiredReagents 
Integer. This is the number of required reagents for said craft. ie, 4 (for any craft that requires 4 reagents to perform...)

Around Wikia's network

Random Wiki