Thread: Junk events
View Single Post
05/16/14, 11:59 AM   #1
Edda
 
Edda's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 60
Junk events

Hello,

It looks like I am flooding the Lua/XML forum here

I searched in the wiki for junk related stuff and found 2 meaty globals :

["SI_ITEM_ACTION_MARK_AS_JUNK"] = 1787
["SI_ITEM_ACTION_UNMARK_AS_JUNK"] = 1788

These look like exactly what I need for my addon but now, I need to find the Event(s) that make use of these.

Did anyone find the junk related events ? It seems from these 2 globals that there should be an ITEM_ACTION event or something.

The event I am using right now is EVENT_INVENTORY_SINGLE_SLOT_UPDATE -> eventCode, bagId, slotId, isNewItem, itemSoundCategory, updateReason but updateReason only accounts for ["INVENTORY_UPDATE_REASON_DURABILITY_CHANGE"] = 1 and ["INVENTORY_UPDATE_REASON_DEFAULT"] = 0 so no luck here.

Any info rly appreciated.
  Reply With Quote