If anyone cares,
GetTradeSkillSelectionIndex()
has become
TradeSkillFrame.RecipeList:GetSelectedRecipeID()
Also
GetTradeSkillInfo(recipeID)
is replaced by a table produced by
C_TradeSkillUI.GetRecipeInfo(recipeID) so if you want the name for example, just do C_TradeSkillUI.GetRecipeInfo(recipeID).name
GetRecipeInfo provides tons more information. Here is a dump example from an engineering recipe
disabled=false,
type="recipe",
hiddenUnlessLearned=false,
icon=1405810,
craftable=true,
numSkillUps=1,
recipeID=198979,
sourceType=1,
numIndents=1,
difficulty="optimal",
name="Intra-Dalaran Wormhole Generator",
numAvailable=0,
learned=true,
favorite=false,
categoryID=473
Last edited by ceylina : 07-06-16 at 12:18 PM.
|