LibArmorToken-1.0

Simple library for requesting what items tier tokens can be turned in for.

Usage:

local LAT = LibStub("LibArmorToken-1.0")
if LAT:IsItemToken(47558) then
    print("This is a token")
end
for _, classname in LAT:IterateClassesForToken(31095) do
    print(classname) -- "HUNTER", "SHAMAN", "WARRIOR"
end
for _, itemid in LAT:IterateItemsForTokenAndClass(31095, "HUNTER") do
    print("Item made:", itemid) -- prints 31962, 31003
end

You must login to post a comment. Don't have an account? Register to get one!

Facts

Date created
Aug 24, 2016
Category
Last update
Aug 25, 2016
Development stage
Alpha
License
BSD License
Reverse relationships
1
Downloads
33
Recent files

Authors