Thread Tools Display Modes
Prev Previous Post   Next Post Next
11/05/14, 01:25 AM   #1
klaro00
 
klaro00's Avatar
Join Date: Apr 2014
Posts: 31
How to get the item's icon or texture when buying/selling

Good morning!

I'm using the events EVENT_SELL_RECEIPT, EVENT_BUY_RECEIPT and EVENT_BUYBACK_RECEIPT to keep track of vendor transactions. Those events send the "name", "type" and "quantity" of sold or bought items.

I would like to display the item icon (in the chat window), so I need the texture or at least the icon string. How do I get this information? Starting point are the event handler function for the mentioned events.

It seems to me as if the "name" part of the mentioned events is a string in item link format. My approach was looking for a way to convert the item link into an icon string or texture with help of a API function. None of the item link functions returns an icon or texture. Any ideas?

Cheers,
Klaus

Last edited by klaro00 : 11/05/14 at 01:32 AM.
  Reply With Quote
 

ESOUI » Developer Discussions » Lua/XML Help » How to get the item's icon or texture when buying/selling


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