I see that there are enums for retainer pages in the InventoryBagId enum, but I am unable to figure out where the information is stored. When I check InventoryManager, I do not see any options for retainer inventory, and when cycling through FilledSlots and trying to sort via BagId as Retainer_Page1 (for example), nothing returns. Is retainer inventory information not stored in inventory manager, or are the enums placeholders?
Are you running that while your retainer is open? I would imagine that the bot probably cannot access the data for the retainer's inventory unless the retainer's bag window is open.
Nope everything is working fine, you should really be using intellisense or the object browser. Code: InventoryManager.GetBagByInventoryBagId(InventoryBagId.Retainer_Page1) I mean it has the name of the enum in the function name...
I did see that, Although did not try that, I was thinking that if retainer inventory window was open, that FilledSlots in inventory manager would have picked it up any filled slot within the retainers inventory as well. Thank you for pointing that out though.
Code: /// <summary> /// Returns all currently filled item slots in the main inventory and equipped items /// </summary>