How to get other player major essence?
Hello all. Im totally new in wow addons/lua but i have some experience in other languages. And i am stuck on inspect players. I cant find any manuals or smth what can help me.
For own essences i just use C_AzeriteEssence functions, like Code:
local major = C_AzeriteEssence.GetMilestoneEssence(115) Please help and sorry for my bad english. |
As a wild guess, inspect them and parse the tooltip?
|
Hearth of azeroth has no essences in tooltip, when linked. You can link it in the game and check.
|
On inspect you can check the inspection target's inventory(equipment). I haven't used the Azerite functions before but can you use the itemID, or itemLink, to get the relevant information you need?
|
Of course it could be possible that you aren't allowed to access other people's essences. Some functions are limited to your own. Some bypass that using the tooltips and extract information available there. Others using inspection ..
However, https://wow.gamepedia.com/World_of_W...API#Inspection Shows very few documented inspection options and none to do with new data however, you may find something that will help via this file : https://github.com/tomrus88/Blizzard...rDollFrame.lua which may highlight functions that are used during inspection to gain data and may be useable by addons. Looking at https://github.com/tomrus88/Blizzard...eEssenceUI.lua I can see no reference to a unit implying the player is the only unit the functions act on. |
All times are GMT -6. The time now is 05:19 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI