Thread: Unique ID
View Single Post
11/14/17, 10:46 AM   #2
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,912
Do you need the id based on an item ingame or just without any relevance to the items (I guess so as you wrote "over time unique").

If you have an item relevance you could use:


Lua Code:
  1. GetItemUniqueId(bag, slot)
  2.  
  3. -- Use this function to get unique hash key for a given id64.
  4. function zo_getSafeId64Key(id)
  5.         return Id64ToString(id)
  6. end

http://www.esoui.com/forums/showthre...ghlight=unique
  Reply With Quote