API GetGuildBankItemInfo

From Wowpedia
Jump to: navigation, search

Gets information about an item slot from the guild bank.

texture, itemCount, locked, isFiltered, quality = GetGuildBankItemInfo(tab,slot)

Arguments

tab 
Integer - The index of the tab in the guild bank
slot 
Integer - The index of the slot in the chosen tab.

Returns

texture 
Number- The id of the texture to use for the item. Returns nil if there is no item.
itemCount 
Integer - The size of the item stack at the chosen slot. Returns 0 if there is no item.
locked 
Boolean - Whether or not the slot is locked. Returns nil if it's not locked or the item doesn't exist, 1 otherwise.
isFiltered
Boolean - Returns true if the slot should be hidden because of the users filter, false otherwise.
quality
Integer - The quality of the item at the chose slot. Returns nil if there is no item.