Skip to content

Bag Info for specialized bags #15

@Mayron

Description

@Mayron

Is it possible to get bag info for whether the bag represents a specialized bag, such as a leatherworking only bag, or the hunter's arrow bag? I noticed many inventory mods, like bagnon, have sorting functionality and the sorting is based on this library. This causes some frustration because the hunter's arrows and professions material gets taken out of the specialized bags and placed into the regular bags - making those types of bags useless (or to just not bother ever sorting the bags).

The problem is that it uses the "family" ID of the container, but this bit of code doesn't check for what type of bag it is (except if it's a keyring bag or in retail the reagent bank bag):
https://github.com/Jaliborc/LibItemCache-2.0/blob/master/LibItemCache-2.0.lua#L186

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions