View Single Post
05-18-16, 02:33 AM   #59
Simca
An Aku'mai Servant
 
Simca's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2012
Posts: 33
Originally Posted by ceylina View Post
Looks like GetTradeSkillSelectionIndex has changed in legion to C_TradeSkillUI.GetTradeSkillLine

Full arguments are

local tradeSkillID, skillLineName, skillLineRank, skillLineMaxRank, skillLineModifier = C_TradeSkillUI.GetTradeSkillLine();
TradeSkill functions have been radically changed, yes. You can also no longer iterate recipes by 'tradeSkillIndex' like before, you have to 'GetAllIDs' and then use IDs.
__________________
Assistant admin for MMO-Champion
WoW database file expert - ask me anything