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