Thread: 3.3 Update
View Single Post
01/19/18, 04:46 PM   #22
Rhyono
AddOn Author - Click to view addons
Join Date: Sep 2016
Posts: 659
Originally Posted by ZOS_ChipHilseberg View Post
We could add house bank to the returns or we could make a new bag based function. Either way, that data would only be available while in a house. What is the use case here?
With CraftStore, I keep track of the data of all storage, which means even when I don't have access to it. When you open the house bank, I'll want to write it all to saved vars. I need quantities which works okay when you have a single stack, but the second you split a stack, the numbers are ruined because I'm only calling that slot for the total and not all slots.

The existing function works for the other 3 bag types all of the time and I know the housing banks don't "exist" until they are opened. As such, I'd like:

Code:
GetItemLinkHouseStack(string itemLink, number Bag bagId)
Returns: number stackCount
which I'd trigger via inventory update events that currently exist.
  Reply With Quote