Thread Tools Display Modes
Prev Previous Post   Next Post Next
11/14/15, 12:37 PM   #1
@AlphaLemming
 
@AlphaLemming's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 122
SHARED_INVENTORY_SLOT_RESULT_REMOVED not fired on research

Lua Code:
  1. function ZO_SharedInventoryManager:HandleSlotCreationOrUpdate(bagCache, bagId, slotIndex, isNewItem)
  2.     local existingSlotData = bagCache[slotIndex]
  3.     local slotData, result = self:CreateOrUpdateSlotData(existingSlotData, bagId, slotIndex, isNewItem)
  4.     bagCache[slotIndex] = slotData
  5.     if result == SHARED_INVENTORY_SLOT_RESULT_REMOVED then
  6.         self:FireCallbacks("SlotRemoved", bagId, slotIndex, existingSlotData)
  7. ...

This callback is not fired, if a item is consumed by researching its trait, why? The item is removed...
  Reply With Quote
 

ESOUI » Developer Discussions » Lua/XML Help » SHARED_INVENTORY_SLOT_RESULT_REMOVED not fired on research


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off