WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Wish List (https://www.wowinterface.com/forums/forumdisplay.php?f=15)
-   -   C_TradeSkillUI.GetProfessionInfoBySkillLineID (https://www.wowinterface.com/forums/showthread.php?t=59434)

Billtopia 01-04-23 10:50 AM

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.

Billtopia 01-04-23 09:11 PM

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.


All times are GMT -6. The time now is 07:14 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI