Returns the amount of money in the guild bank. The return value is cached and returns the last value seen when not interacting with a guild bank vault. This cache works across characters, and is updated when the GUILDBANK_UPDATE_MONEY
or GUILDBANKFRAME_OPENED
event fires. If no player character has accessed a guild bank since the game client was launched, this function returns 0.
See also Guild bank functions.
Signature:
guildBankMoney
=
GetGuildBankMoney()
Returns:
guildBankMoney
- Amount of money in the guild bank (in copper) (number
)