View Single Post
04/02/15, 09:04 PM   #14
circonian
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 613
Originally Posted by Baertram View Post
Thx for the info about GetNumGuilds() and the other functions.

One question:
SelectGuildBank(guild id)

Will this change the guild bank directly or do I have to accept the selected guild before it changes it?
EDIT: My bad I thought i tested this earlier.....SelectGuildBank(..) does apparently automatically change the guild bank. I just tried it again & it does.

Also I don't think you need these. They return nil, so I don't think they have those handlers by default, so I don't think theres anything to restore later.
Lua Code:
  1. origVars.GuildBankSelectorOnKeyUp        = GUILDBANK_SELECT_POPUP:GetHandler("OnKeyUp")
  2. origVars.GuildBankSelectorOnMouseWheelG  = GUILDBANK_SELECT_POPUP_GUILD:GetHandler("OnMouseWheel")

Last edited by circonian : 04/02/15 at 09:54 PM.
  Reply With Quote