Thread Tools Display Modes
Prev Previous Post   Next Post Next
10/13/18, 11:05 AM   #1
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,578
[implemented] get enchantment from equipment itemlink

I just noticed that there is no proper way to get the applied enchantment of an item. Right now there is only a function GetItemLinkEnchantInfo which returns true if the enchantment has charges and the localized name and description. If possible I'd like to have an additional return (or a separate function) which gives me the itemlink for the applied glyph.

From what I have seen the itemlink already contains the glyph id and quality for items enchanted by the player, but loot that is dropped in the world seems to use some sort of default enchantment which is not specified there (enchantment item id is 0), so I cannot just build the link myself.

For my use case I need a way to get the ENCHANTMENT_SEARCH_CATEGORY_* from an item link, so if GetItemLinkEnchantInfo returned that in addition, it would be even easier for me.

Last edited by sirinsidiator : 10/13/18 at 11:25 AM.
 
 

ESOUI » Developer Discussions » Wish List » [implemented] get enchantment from equipment itemlink


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