View Single Post
10-22-14, 04:20 PM   #8
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,934
Looks like there is a constant MAX_TRADE_SKILL_REAGENTS that can be used to generate a list .. Blizzard_TradeSkillUI.lua is clearly a good place to look.

local reagentName, reagentTexture, reagentCount, playerReagentCount = GetTradeSkillReagentInfo(id, i)
SelectTradeSkill(id)
GetNumTradeSkills()
GetTradeSkillSelectionIndex()

id seems to be a number with 0 meaning no selected / known trade skill.

There is a bunch of functions in that file but these seem to be the sort of thing you are looking for.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
  Reply With Quote