There isn't a function for the inventory that returns it all because it's a table.
You can access the cache this way: SHARED_INVENTORY.bagCache[BAG_BACKPACK]
Or you can build your own table cycling through your bag length and using GetItemInfo(BAG_BACKPACK,<slot>).
|