View Single Post
08/14/14, 10:22 AM   #10
jace888
 
jace888's Avatar
Join Date: Aug 2014
Posts: 7
Originally Posted by zgrssd View Post
That is a lot more possible.

It should be doable by just hooking into the two functions:
TransferToGuildBank(integer sourceBag, integer sourceSlot)
TransferFromGuildBank(integer slotId)
I am just not sure how to figure out if the transfer was succesfull or not. Maybe catching and releasing the exception?

Also there are these events, but I have no idea if they are fired for every change or only the ones you yourself made:
EVENT_GUILD_BANK_ITEM_ADDED (integer eventCode, integer slotId)
EVENT_GUILD_BANK_ITEM_REMOVED (integer eventCode, integer slotId)
EVENT_GUILD_BANK_TRANSFER_ERROR (integer eventCode, integer reason)
EVENT_GUILD_BANK_UPDATED_QUANTITY (integer eventCode, integer slotId)
EVENT_GUILD_BANKED_MONEY_UPDATE (integer eventCode, integer newBankedMoney, integer oldBankedMoney)

I would have to do some test before I know more.
Great! I look forward to seeing what you come up with! Thank you!

Jace
  Reply With Quote