Earlier Versions
Name | Size | Uploaded | Game Version | Downloads | |
v1.1 +1 More release | 6.25 KB | Sep 6, 2016 | 7.0.3 | 776 | Download |
v1.1-nolib release | 2.33 KB | Sep 6, 2016 | 7.0.3 | 60 | Download |
v1 +1 More release | 6.22 KB | Sep 6, 2016 | 7.0.3 | 79 | Download |
v1.1-7-g9307b42-alpha +1 More alpha | 6.76 KB | Nov 1, 2022 | 10.0.0 | 29 | Download |
v1.1-6-g6e5081a-alpha +1 More alpha | 6.71 KB | Oct 31, 2022 | 8.0.1 | 13 | Download |
v1.1-4-g25cb09d-alpha +1 More alpha | 6.53 KB | Oct 16, 2020 | 8.0.1 | 54 | Download |
v1.1-3-g816d4ae-alpha +1 More alpha | 6.47 KB | Oct 13, 2019 | 8.0.1 | 43 | Download |
v1.1-2-g73f99ed-alpha +1 More alpha | 6.43 KB | Nov 22, 2018 | 8.0.1 | 76 | Download |
v1.1-1-g20fd1da-alpha +1 More alpha | 6.35 KB | Aug 17, 2018 | 8.0.1 | 49 | Download |
r20160827222455 +1 More alpha | 6.17 KB | Aug 28, 2016 | 7.0.3 | 57 | Download |
Description
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
Add a comment