C_TradeSkillUI.GetRecipeReagentItemLink

From Warcraft Wiki
Jump to navigation Jump to search

Returns a link for a reagent needed by a recipe.

itemLink = C_TradeSkillUI.GetRecipeReagentItemLink(recipeId, reagentIndex)

Arguments

recipeID
number - ID of the recipe to get the reagent link for.
reagentIndex
number - The index of the reagent to get a link for, between 1 and C_TradeSkillUI.GetRecipeNumReagents(recipeID)..

Returns

itemLink
string - An string containing an itemLink for the requested reagent.

Patch changes

Dragonflight Patch 10.0.0 (2022-10-25): Removed.
Legion Patch 7.0.3 (2016-07-19): Added. Replaces GetTradeSkillReagentItemLink.

See also