Lore archive · Warcraft Wiki, 2023 dump
API C TradeSkillUI.GetRecipeReagentInfo
Last wiki revision 2023-08-19
Returns the information for a reagent needed by a recipe. name, icon, reagentCount, playerReagentCount = C_TradeSkillUI.GetRecipeReagentInfo(recipeSpellID, reagentIndex [, recipeLevel])
- recipeSpellID:
- reagentIndex: - Ranging from 1 to
- recipeLevel:
- 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.
Prints the reagents for Thorium Widget. The player has 12 Thorium Bars and zero Runecloth.
Source
https://warcraft.wiki.gg/wiki/API_C_TradeSkillUI.GetRecipeReagentInfo · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.