mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 16:10:36 +00:00
Port of 4.3.4's bag search (CGContainerInfo): C_Container.SetItemSearch, C_Container.IsContainerFiltered and INVENTORY_SEARCH_UPDATE. An item matches on its equipment sets' names, its suffixed name, its subclass short name or its equip slot name, case- and accent-folded per locale. The keyring is searched; non-ASCII search text is folded whole. C_Container.GetContainerItemInfo now reports isFiltered and takes an optional table to fill and return, so bag addons can read every slot without a new table per call. Item::Location::ResolveBagArgs resolves the caller's own bag/slot args without wiping the stack.