Thread Tools Display Modes
Prev Previous Post   Next Post Next
09-24-20, 08:46 PM   #1
krel666
A Murloc Raider
Join Date: Sep 2020
Posts: 5
Uniquely Identifying Items

Hey all,

I'm making an addon for Classic and need a way to uniquely identify soul shards Warlocks create in their bags. I've read through the API and couldn't really find anything. The best solution I came up with was using the bag number and slot number to map to corresponding soul shards.

This approach however ran into its own issue. I would like to use the tooltip widget to hover over a soul shard and display information unique to that specific soul shard. The problem is the tooltip functions provide no way of getting the bag index/slot index of the item you're hovering over.

I could get this information if the user selects (locks) a soul shard from the inventory, but that's not the solution I'm looking for.

Thanks!
  Reply With Quote
 

WoWInterface » Developer Discussions » General Authoring Discussion » Uniquely Identifying Items

Thread Tools
Display Modes

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