Lore archive · Warcraft Wiki, 2023 dump
API GetGuildBankMoneyTransaction
Last wiki revision 2022-08-03
Returns info for a money transaction from the guild bank.
type, name, amount, years, months, days, hours = GetGuildBankMoneyTransaction(index)
- index: - The index of the transaction to select. From 1 to GetNumGuildBankMoneyTransactions.
- type: - The Type of transaction ("deposit" | "withdrawal" | "repair").
- user: - The User that performed a Transaction. A nil return indicates that this data is cached or possibly invalid! In the Blizzard UI nil users are said to be "Unknown"
- amount: - The Copper value of the Transaction.
- years: - The number of years since this transaction took place.
- months: - The number of months since this transaction took place.
- days: - The number of days since this transaction took place.
- hours: - Hours Since the Transaction took place.
Displays details about a specific Money transaction in the Guild Bank.
WARNING: This Lua function crashes the game client if the index is out of range. If QueryGuildBankLog(MAX_GUILDBANK_TABS+1) is not called and/or there is no player proximity to the guild bank this will return invalid (cached, lagged, or possibly random) data. When called incorrectly "repair" type transactions have been observed when the Blizzard UI does not show any repair transactions in that guild bank.
Source
https://warcraft.wiki.gg/wiki/API_GetGuildBankMoneyTransaction · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.