View Single Post
06/08/20, 01:26 PM   #5
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,979
Event_inventory_single_slot_update fires for new items. You can filter it to only fire as your player gets new items and check with this what item came in new. You only need to track the sources you have mentioned already (chests, bags, containers, enemies bodies, etc.) , and maybe with event_loot* to compare the itemName as well, to be sure it really was looted (and not obtained from a mail attachment etc. But the mapping of sources to items should be hard to make "safe". If you e. G. Loot bags and overland sacks or whatever wuicly after another you cannot be sure what item came from what container...
  Reply With Quote