API C TradeSkillUI.GetRecipeReagentInfo

Returns the information for a reagent needed by a recipe.
 name, icon, reagentCount, playerReagentCount = C_TradeSkillUI.GetRecipeReagentInfo(recipeSpellID, reagentIndex [, recipeLevel])
==Arguments==
:;recipeSpellID:
:;reagentIndex: - Ranging from 1 to ()
:;recipeLevel:
==Returns==
:;name: - The localized name for the reagent.
:;icon: - Icon FileID
:;reagentCount: - The required number of the reagent needed to make the recipe once.
:;playerReagentCount: - The amount of the reagent the player has.
==Example==
Prints the reagents for Thorium Widget. The player has 12 Thorium Bars and zero Runecloth.
local recipeId = 19791 -- Thorium Widget
for i = 1, C_TradeSkillUI.GetRecipeNumReagents(recipeId) do
	print(C_TradeSkillUI.GetRecipeReagentInfo(recipeId, i))
end
-- "Thorium Bar", 133221, 3, 12
-- "Runecloth", 132903, 1, 
==Patch changes==