Quantcast ESOUI - View Single Post - [open] GetItemUniqueId -> GetItemLinkUniqueId
View Single Post
06/02/18, 06:31 PM   #1
Baertram
 
Baertram's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 1,677
[open] GetItemUniqueId -> GetItemLinkUniqueId

Hey chip,

the function GetItemUniqueId(bag, slot) is available to get a unique int64 value of an item from the given bag and slotIndex.
Code:
* GetItemUniqueId(*[Bag|#Bag]* _bagId_, *integer* _slotIndex_)
** _Returns:_ *id64:nilable* _id_
Could we please have the same function for an itemlink as well, if this is possible (not sure how exactly these int64 values are build internally, so maybe you really need the bag and slotIndex in there?).

Lua Code:
  1. * GetItemLinkUniqueId(*string* _itemLink_)
  2. ** _Returns:_ *id64:nilable* _id_


Thanks a lot!
  Reply With Quote