LibAppropriateItems-1.0

Addons
842 Downloads Last Updated: Oct 12, 2019 Game Version: 7.0.3

Simple library for checking whether a given item is appropriate for a given class.

"Appropriate" is shorthand for "Blizzard says you can equip it and learn the transmog appearance".

Usage:

local LAI = LibStub("LibAppropriateItems-1.0")
if LAI:CanEquip(itemLink) then
    print("Can equip")
end
if LAI:IsAppropriate(itemLink, "WARRIOR") then
    print("A warrior can learn this appearance")
end

Comments

Posts Quoted: