Handholding request: banking
I'm trying to add a feature to Mass Deconstructor to allow non-crafting characters to deposit all the to-be-deconstructed items in the bank in preparation for deconstructing by the crafting character(s).
At this point I'm getting a little confused by some of the stuff I'm seeing in esoui LUA files and I need some help.
In inventoryslot.lua there is a function TryBankItem which appears to effect a deposit by invoking "PickupInventoryItem(bag, index)" and then "PlaceInTransfer". How does this work? Is this dependent on having the appropriate tab open (i.e.: Withdraw or Deposit)? If so, how can I select/open the Deposit tab of the bank?
In the crafting tables we can select the appropriate tab using SMITHING:SetMode(), but because I don't know what I'm looking for I can't find the equivalent thing for banking. All the esoui LUA code I'm looking reacts to the state of the bank but doesn't set it.
|