WoW:Events/Bank: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
m (automated upload)
Line 20: Line 20:


Fired when the bank frame is opened
Fired when the bank frame is opened
{{evt|GUILDBANKBAGSLOTS_CHANGED|Bank}}
Fired when the guild-bank contents change
{{evt|GUILDBANKFRAME_CLOSED|Bank}}
Fired when the guild-bank frame is closed
{{evt|GUILDBANKFRAME_OPENED|Bank}}
Fired when the guild-bank frame is opened
{{evt|GUILDBANKLOG_UPDATE|Bank}}
Fired when the guild-bank log is updated.
{{evt|GUILDBANK_ITEM_LOCK_CHANGED|Bank}}
{{evt|GUILDBANK_TEXT_CHANGED|Bank}}
{{evt|GUILDBANK_UPDATE_MONEY|Bank}}
{{evt|GUILDBANK_UPDATE_TABS|Bank}}
{{evt|GUILDBANK_UPDATE_TEXT|Bank}}
{{evt|GUILDBANK_UPDATE_WITHDRAWMONEY|Bank}}




{{evt|PLAYERBANKBAGSLOTS_CHANGED|Bank}}
{{evt|PLAYERBANKBAGSLOTS_CHANGED|Bank}}


Fired when you successfully purchase a bank bag slot.
This event only fires when bank bags slots are purchased. It no longer fires when bags in the slots are changed. Instead, when the bags are changed, PLAYERBANKSLOTS_CHANGED will fire, and arg1 will be NUM_BANKGENERIC_SLOTS + BagIndex.
 
Does '''not''' fire when an item is added to or removed from a bank bag, '''nor''' when  
a bag is added, removed or swapped from the bag slots.




{{evt|PLAYERBANKSLOTS_CHANGED|Bank}}
{{evt|PLAYERBANKSLOTS_CHANGED|Bank}}


Fired when the One of the slots in the player's 24 bank slots has changed.
Fired when the One of the slots in the player's 24 bank slots has changed, or when any of the equipped bank bags have changed.


Does '''not''' fire when an item is added to or removed from a bank bag.
Does '''not''' fire when an item is added to or removed from a bank bag.


; arg1 : When (arg1 <= NUM_BANKGENERIC_SLOTS), arg1 is the index of the generic bank slot that changed.  When (arg1 > NUM_BANKGENERIC_SLOTS), (arg1 - NUM_BANKGENERIC_SLOTS) is the index of the equipped bank bag that changed.





Revision as of 16:49, 30 June 2009

Event API


"I" iconNote that this page is automatically generated; editing it is pointless. To edit event descriptions, edit the entries in the alphabetical pages, e.g. Events/A, Events/B, etc. Changes there will be copied over to here within a few hours.


Bank related events

"BANKFRAME_CLOSED"
Category: Bank
 

Fired twice when the bank window is closed.

Only at the first one of them the bank data is still available (GetNumBankSlots(), GetContainerItemLink(), ...)


"BANKFRAME_OPENED"
Category: Bank
 

Fired when the bank frame is opened


"GUILDBANKBAGSLOTS_CHANGED"
Category: Bank
 

Fired when the guild-bank contents change


"GUILDBANKFRAME_CLOSED"
Category: Bank
 

Fired when the guild-bank frame is closed


"GUILDBANKFRAME_OPENED"
Category: Bank
 

Fired when the guild-bank frame is opened


"GUILDBANKLOG_UPDATE"
Category: Bank
 

Fired when the guild-bank log is updated.


"GUILDBANK_ITEM_LOCK_CHANGED"
Category: Bank
 



"GUILDBANK_TEXT_CHANGED"
Category: Bank
 



"GUILDBANK_UPDATE_MONEY"
Category: Bank
 



"GUILDBANK_UPDATE_TABS"
Category: Bank
 



"GUILDBANK_UPDATE_TEXT"
Category: Bank
 



"GUILDBANK_UPDATE_WITHDRAWMONEY"
Category: Bank
 



"PLAYERBANKBAGSLOTS_CHANGED"
Category: Bank
 

This event only fires when bank bags slots are purchased. It no longer fires when bags in the slots are changed. Instead, when the bags are changed, PLAYERBANKSLOTS_CHANGED will fire, and arg1 will be NUM_BANKGENERIC_SLOTS + BagIndex.


"PLAYERBANKSLOTS_CHANGED"
Category: Bank
 

Fired when the One of the slots in the player's 24 bank slots has changed, or when any of the equipped bank bags have changed.

Does not fire when an item is added to or removed from a bank bag.

arg1
When (arg1 <= NUM_BANKGENERIC_SLOTS), arg1 is the index of the generic bank slot that changed. When (arg1 > NUM_BANKGENERIC_SLOTS), (arg1 - NUM_BANKGENERIC_SLOTS) is the index of the equipped bank bag that changed.


"PLAYERBANKBAGSLOTS_CHANGED"
Category: Bank
 



"PLAYERBANKSLOTS_CHANGED"
Category: Bank