View Single Post
10-27-21, 12:50 PM   #10
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,878
I can do it right now with this, but I don't have a way to generate the item data for my entire shopping cart.
"this" is using information from what looks like a SavedVariables table (SniperDB) which would be the "cache".

It's not really, it's just a list of item information that could be sourced from anywhere (WoWHead, Raidbot presumably, a script/program that gets the information from somwhere "outside" of the game, ...).

That list can't be updated from these external sources while the game is running.

The question becomes, how and where from do you want to create a list of item information for the "stuff" you specifically want to search for (your cache).

The code supplied also looks like it's only searching one item at a time where C_AuctionHouse.SearchForItemKeys appears to be able to accept a table of multiple itemKey tables. That might make an actual pass quicker but the AH API isn't something I've used.
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.
  Reply With Quote