Thread Tools Display Modes
01-04-23, 10:50 AM   #1
Billtopia
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Apr 2009
Posts: 110
C_TradeSkillUI.GetProfessionInfoBySkillLineID

C_TradeSkillUI.GetProfessionInfoBySkillLineID should always return the full level and maximum level for known skills when called, not just after the Professions Frame has been opened as the frame requires a hardware event to show and the full profession information is only available through that call. You can get information on the highest trained skill (like Dragon Isles Mining vs Shadowlands) through other means but not the "lesser" / older skills. This makes making something like a progress bar for gathering skills a way more difficult process and possible less accurate as you may not even have the current skill level they are at and have to parse the chat message events to find skill ups.
  Reply With Quote
01-04-23, 09:11 PM   #2
Billtopia
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Apr 2009
Posts: 110
I finally found a way to get past the hardware event required for opening the Professions Frame. It is several steps that require some time between them or it will fail to open the frame. In truth this should not be needed at all as the data should always be complete and not dependent on opening the Professions Frame to begin with.
  Reply With Quote

WoWInterface » Developer Discussions » Wish List » C_TradeSkillUI.GetProfessionInfoBySkillLineID

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off