tekkub / panda

WoW Addon - Prospecting and Disenchanting Aide

This URL has Read+Write access

panda / tekAucQuery.lua
100644 13 lines (9 sloc) 0.29 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
local lib = LibStub:NewLibrary("tekAucQuery", 1)
if not lib then return end
 
setmetatable(lib, {
__index = function(t,i)
if not i then return end
return GetAuctionBuyout and GetAuctionBuyout(i)
or AucAdvanced and AucAdvanced.Modules.Util.Appraiser.GetPrice(i, nil, true)
end,
})