WoW API: GetGuildBankTransaction

From AddOn Studio
Jump to navigation Jump to search

WoW API < GetGuildBankTransaction

Get information for specific item transaction from Guild Bank.

type, name, itemLink, count, tab1, tab2, year, month, day, hour = GetGuildBankTransaction(tab, index)


Arguments

(tab, index)
tab
Number - Tab number. 1 - GetNumGuildBankTabs()
index
Number - Transaction index. Bottom (oldest) transaction is 1, top is GetNumGuildBankTransactions(tab).

Returns

type, name, itemLink, count, tab1, tab2, year, month, day, hour
type
String - Transaction type. ("deposit", "withdraw" or "move")
name
String - Name of player who made the transaction.
itemLink
String - itemLink of transaction item.
count
Number - Amount of items.
tab1
Number - For type=="move", this is the origin tab.
tab2
Number - For type=="move", this is the destination tab.
year
Number - The number of years since this transaction took place.
month
Number - The number of months since this transaction took place.
day
Number - The number of days since this transaction took place.
hour
Number - The number of hours since this transaction took place.