View Single Post
07/28/14, 04:20 PM   #2
Xrystal
caritas omnia vincit
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 369
local function OnReceiveLoot(eventID, receivedBy, item, quantity, itemSound, lootType, self)
EVENT_MANAGER:RegisterForEvent(addonName,EVENT_LOOT_RECEIVED,OnReceiveLoot)

item if memory serves is actually a link, so with the link functions becoming available soon it might be enough to get what else you need otherwise...

local function OnSlotUpdate(eventID,bagID,slotID,isNew, itemSoundCategory, updateReason)
EVENT_MANAGER:RegisterForEvent(addonName,EVENT_INVENTORY_SINGLE_SLOT_UPDATE,OnSlotUpdate)

These two combined together will enable you to track basic info on what other people receive ( although I am sure that someone was getting OnSlotUpdate to report someone nearby's update, but I haven't seen this myself ), and more specific information on what the player receives.
  Reply With Quote