kanan-new icon indicating copy to clipboard operation
kanan-new copied to clipboard

[IDEA] Searchable Global Pet Inventory

Open Aahzmandius opened this issue 6 years ago • 0 comments

Essentially, maintain a local list of items that were last seen in the inventory of pets, with the ability to search by item name, to know which pet to summon. image Did a simple sort where items whose ownerID (as long as they had one) didn't match localPlayerID, were separated into Pet Item List, which works fine. Learned the item list is currently cleared/populated every imgui UI refresh too... which is nice to keep it constantly updated, but may throw a monkey wrench into a few things. You'd only need to summon your pets once to populate the list, although I'm not sure how you'd know when to remove items. For persistence, there's also the concern of mixing pets from different accounts/servers. Don't want Mari pets mixed in with Alexina, etc.

I'm not great with modern C++, so not sure what container type is needed or most efficient for this kind of mapping so it's easily searchable. Any tips or thoughts would be nice.

Aahzmandius avatar Dec 05 '18 04:12 Aahzmandius