Earlier Versions
Name | Size | Uploaded | Game Version | Downloads | |
v1.1 +1 More release | 6.25 KB | Sep 6, 2016 | 7.0.3 | 546 | ![]() |
v1.1-nolib release | 2.33 KB | Sep 6, 2016 | 7.0.3 | 33 | ![]() |
v1 +1 More release | 6.22 KB | Sep 6, 2016 | 7.0.3 | 57 | ![]() |
v1.1-4-g25cb09d-alpha +1 More alpha | 6.53 KB | Oct 16, 2020 | 8.0.1 | 4 | ![]() |
v1.1-3-g816d4ae-alpha +1 More alpha | 6.47 KB | Oct 13, 2019 | 8.0.1 | 23 | ![]() |
v1.1-2-g73f99ed-alpha +1 More alpha | 6.43 KB | Nov 22, 2018 | 8.0.1 | 47 | ![]() |
v1.1-1-g20fd1da-alpha +1 More alpha | 6.35 KB | Aug 17, 2018 | 8.0.1 | 28 | ![]() |
r20160827222455 +1 More alpha | 6.17 KB | Aug 28, 2016 | 7.0.3 | 37 | ![]() |
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