Originally Posted by Baertram
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:
origVars.GuildBankSelectorOnKeyUp = GUILDBANK_SELECT_POPUP:GetHandler("OnKeyUp")
origVars.GuildBankSelectorOnMouseWheelG = GUILDBANK_SELECT_POPUP_GUILD:GetHandler("OnMouseWheel")