BetterBags

BetterBags

1M Downloads

[Feature]: Check if the warbank has been opened from another addon.

octavius-dev opened this issue ยท 1 comments

commented

Describe the feature

I have an addon works with the default ui so that then the warbank is opened a percentage of the user's gold is deposited into the warbank. The code for this however doesn't unfortunately work with BetterBags.

My addon needs to know if any of the warband bank tabs have been clicked and so my function can be called to deposit the gold into the warband bank.

Describe the implementation

I'd like for an event or some lua code that I could use in my addon so it would know when any of the warband bank tabs have been opened.

commented

Could you also add a check to see if the guild bank has been opened also maybe? then I could decide whether to deposit into my own personal guild or my warband bank.