Thread Tools Display Modes
Prev Previous Post   Next Post Next
06/21/21, 01:41 PM   #1
rp12439_3
AddOn Author - Click to view addons
Join Date: Jun 2021
Posts: 45
Event changes to craftbag

Hi there,

Is there an event which is triggerd when changes to the craftbag happen. I couldnt find one.

I dont want to use

EVENT_MANAGER:RegisterForEvent(Crafty.name, EVENT_INVENTORY_SINGLE_SLOT_UPDATE, Crafty.InvChange)

this will trigger my function all the time... money changes and so on.

So far I use:

EVENT_MANAGER:RegisterForEvent(Crafty.name, EVENT_BUY_RECEIPT, Crafty.InvChange)
EVENT_MANAGER:RegisterForEvent(Crafty.name, EVENT_LOOT_RECEIVED, Crafty.InvChange)
EVENT_MANAGER:RegisterForEvent(Crafty.name, EVENT_MAIL_TAKE_ATTACHED_ITEM_SUCCESS , Crafty.InvChange)
EVENT_MANAGER:RegisterForEvent(Crafty.name, EVENT_CRAFT_COMPLETED, Crafty.InvChange)

But this does not cover stows or transfers from inv to craftbag and vice versa

THX!
  Reply With Quote
 

ESOUI » Developer Discussions » Lua/XML Help » Event changes to craftbag


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