C_TradeSkillUI.GetTradeSkillLineForRecipe

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 7.0.3

Get the associated profession information for a recipe.

tradeSkillID, skillLineName, parentTradeSkillID = C_TradeSkillUI.GetTradeSkillLineForRecipe(recipeID)

Arguments

recipeID
number

Returns

tradeSkillID
number - skill line ID for profession where recipe comes from (including expansion)
skillLineName
string - profession name where recipe comes from (including expansion)
parentTradeSkillID
number - skill line ID for the profession (not expansion specific)