Thread Tools Display Modes
05/08/14, 09:30 AM   #1
Wobin
 
Wobin's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 78
[implemented] GetItemLinkLevel

Access to get the required player level needed for items from itemlinks.

Would be very helpful in organising provisioning results if we could figure out easily what recipes are for what specific levels.

Or at least an expanded resultset from GetRecipeResultItemInfo to include level
 
05/08/14, 09:50 AM   #2
lyravega
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 93
GetItemLevel(bagID, slotIndex) - can be used with EVENT_INVENTORY_SINGLE_SLOT_UPDATE
ZO_LinkHandler_ParseLink(itemLink) - this may be returning an item level

But yeah. These are workarounds...
 
05/08/14, 10:18 AM   #3
Wobin
 
Wobin's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 78
Originally Posted by lyravega View Post
GetItemLevel(bagID, slotIndex) - can be used with EVENT_INVENTORY_SINGLE_SLOT_UPDATE
ZO_LinkHandler_ParseLink(itemLink) - this may be returning an item level

But yeah. These are workarounds...
Unfortunately, the item may not necessarily exist in a bag, and GetRecipeResultItemLink returns an absolutely clean link. No level information.
 
05/08/14, 12:49 PM   #4
lyravega
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 93
Yeah I understand you mate.

I wish EVENT_LOOT_RECEIVED was expanded a little, so I won't have to go through those 2 functions I've mentioned above, just to get the quality and the icon of the loot.

Last edited by lyravega : 05/08/14 at 12:56 PM.
 
05/08/14, 09:51 PM   #5
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 648
GetItemLevel() returns a weighted level, based on the item's quality and stats. To get the correct level for the item, you can pull that data from the item link itself.
 

ESOUI » Developer Discussions » Wish List » [implemented] GetItemLinkLevel


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