Hooked bank APIs

The following APIs are hooked and depending if you're at a guild bank, the info provided will be altered with info given by Guild Bank functions.


GetContainerNumSlots(container)

arguments

  • container: converted to tabID if you're at a guild bank.

returned values

  • number: 98 if you're at a guild bank, otherwise regular value is returned.

GetContainerItemLink(container, slot)

arguments

  • container: converted to tabID if you're at a guild bank.
  • slot: SlotID

returned values

  • itemLink

GetContainerItemInfo(container, slot)

arguments

  • container: converted to tabID if you're at a guild bank.
  • slot: SlotID

returned values

  • item texture
  • number: item count
  • number: item locked. (nil or 1)
  • number: item quality
  • nil: item readable
  • nil: item lootable (containers like locked boxes)
  • string: item link

SplitContainerItem(container, slot)

arguments

  • container: converted to tabID if you're at a guild bank.
  • slot: SlotID
  • amount: number of items to split

returned values

  • none

PickupContainerItem(container, slot)

arguments

  • container: converted to tabID if you're at a guild bank.
  • slot: SlotID

returned values

  • none

GetItemCount(itemId, includeBank, includeCharges)

Note this is still being worked on. It's currently not hooked.

arguments

  • itemID: id of the item.
  • includeBank: true/false if bank items should be included in the count.
  • includeCharges: for items with multiple charges.

returned values

  • number: number of items in invintory/bank

Comments

Posts Quoted:
Reply
Clear All Quotes