WoW:API GetCraftNumReagents: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Move page script moved page API GetCraftNumReagents to API GetCraftNumReagents without leaving a redirect) |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
This command tells the caller how many | {{removedapi|3.0|Crafting API was absorbed into [[World of Warcraft API#TradeSkill Functions|Tradeskill API]].}} | ||
{{wowapi}} | |||
This command tells the caller how many reagents are required for said craft. | |||
numRequiredReagents = GetCraftNumReagents(index) | numRequiredReagents = GetCraftNumReagents(index) | ||
Line 11: | Line 13: | ||
:;numRequiredReagents : Integer. This is the number of required reagents for said craft. ie, 4 (for any craft that requires 4 reagents to perform...) | :;numRequiredReagents : Integer. This is the number of required reagents for said craft. ie, 4 (for any craft that requires 4 reagents to perform...) | ||
Latest revision as of 04:45, 15 August 2023
This is no longer a part of the World of Warcraft API.
|
← 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...)