View Single Post
05/02/18, 09:15 AM   #2
Shinni
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 167
I work into OnInventoryUpdate(..), and the quantity is not known at this moment, just itemLink.
You DO get the quantity from the inventory update event.

EVENT_INVENTORY_SINGLE_SLOT_UPDATE (number eventCode, Bag bagId, number slotId, boolean isNewItem, ItemUISoundCategory itemSoundCategory, number inventoryUpdateReason, number stackCountChange)

Last edited by Shinni : 05/02/18 at 09:18 AM.
  Reply With Quote