View Single Post
06/01/17, 06:07 PM   #1
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
Bag_subscriber_bank

Hello,

This new bag come in addition to BAG_BANK if IsESOPlusSubscriber().

Few things :

- Assume user has maxed his bank (240).



Non subscriber :
  • GetBagUseableSize(BAG_SUBSCRIBER_BANK) = 0
  • GetBagUseableSize(BAG_BANK) = 240

Subscriber :
  • GetBagSize(BAG_SUBSCRIBER_BANK) = 240
  • GetBagSize(BAG_BANK) = 240

Everyone :
  • StackBag(BAG_BANK) = Stacks ONLY BAG_BANK
  • StackBag(BAG_SUBSCRIBER_BANK) = Stacks ONLY BAG_SUBSCRIBER_BANK
  • local stackCountBackpack, stackCountBank, stackCountCraftBag = GetItemLinkStacks(itemLink)
    stackCountBank is BAG_BANK + BAG_SUBSCRIBER_BANK
    Please note, this function don't work in "real time" but have a small refresh delay.
  • FindFirstEmptySlotInBag(BAG_BANK) = Find First Empty Slot In BAG_BANK
    Please note, this function don't work in "real time" but have a small refresh delay.
  • FindFirstEmptySlotInBag(BAG_SUBSCRIBER_BANK) = Find First Empty Slot In BAG_SUBSCRIBER_BANK
    Please note, this function don't work in "real time" but have a small refresh delay.


Few snippets of mass transfer / handling are in BankManager if needed.

Last edited by Ayantir : 06/04/17 at 04:38 AM.
  Reply With Quote