Quantcast
WoWInterface - View Single Post - Strange GetItemInfo behaviour
View Single Post
08-29-16, 02:47 AM   #2
Banknorris
A Chromatic Dragonspawn
 
Banknorris's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 153
I guess that if you get nil you may want to wait for a GET_ITEM_INFO_RECEIVED event whose arg1 will be the item id. When this event triggers the link should be available. This event will trigger a little bit after you call GetItemInfo() for an item not in the cache.
__________________
"In this world nothing can be said to be certain, except that fractional reserve banking is a Ponzi scheme and that you won't believe it." - Mandrill
  Reply With Quote