mirror of
https://github.com/brues-code/SuperCleveRoidMacros.git
synced 2026-09-16 03:38:00 +00:00
63b484b1ea
ClassicAPI hooks the global GetItemInfo to auto-warm the item cache on a miss and fires GET_ITEM_INFO_RECEIVED when the async fill lands, so the tooltip-scan warmup is obsolete: IndexItems's own GetItemInfo calls already trigger the same warmup, and owned items (bags + equipped) are priority-prefetched by the engine. The old warmup also assumed the fill was synchronous, which no longer holds. Drop DoWDBWarmup and its login scheduling; instead listen for GET_ITEM_INFO_RECEIVED and run a debounced re-index. IndexItems records owned itemIDs it could not resolve into pendingItemInfo, and the handler ignores any fill not in that set (quest DB scans, AH sweeps, chat-link hovers, inspects) in O(1) so unrelated bursts do not cause reindex churn.