Fandom

WoWWiki

API GetCraftReagentItemLink

104,635pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

WoW API < GetCraftReagentItemLink

This command returns a required reagent (as an itemLink) for a specific craftable item from the currently visible tradeskill window.

reagentLink = GetCraftReagentItemLink(index, n)

Arguments Edit

index 
Numeric - index of the requested craft recipe, where 1 is the top-most listed recipe.
Numeric - index of the Nth reagent for the recipe, where 1 is the first reagent.

Returns Edit

reagentLink 
String - itemLink for the requested reagent.

Details Edit

  • If you specify an invalid index, nil is returned.
  • If there is no visible tradeskill window, nil is returned.

Also on Fandom

Random Wiki