API GetGuildBankMoneyTransaction

Revision as of 20:32, August 14, 2009 by Bobbysing (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
102,797pages on
this wiki
WoW API < GetGuildBankMoneyTransaction

gets a specific money transaction from the guild bank

type, name, amount, years, months, days, hours = GetGuildBankMoneyTransaction(index)

Parameters Edit

Integer - The index of the transaction to select.

Returns Edit

String - The Type of transaction ("deposit" | "withdrawal" | "repair").
String - 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"
Integer - The Copper value of the Transaction.
Integer - The number of years since this transaction took place.
Integer - The number of months since this transaction took place.
Integer - The number of days since this transaction took place.
Integer - Hours Since the Transaction took place.

Details Edit

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.

Around Wikia's network

Random Wiki