Mercurial > wow > inventory
view AuctionAddons/AuctionMaster.lua @ 32:48df24205a9b
Added tag v0.1.6-BETA for changeset e732843b16d2
author | Zerotorescue |
---|---|
date | Sat, 30 Oct 2010 23:07:25 +0200 |
parents | 5006cb0e97c6 |
children |
line wrap: on
line source
do local function GetValue(link) local _, _, _, lowerBuyout, _, _, numAuctions, _ = AucMasGetCurrentAuctionInfo(link, false, true); --local avgBid, avgBuyout, lowerBid, lowerBuyout, upperBid, upperBuyout, numAuctions, numBuyouts return (numAuctions > 0 and lowerBuyout) or -1; end local function IsEnabled() return (AucMasGetCurrentAuctionInfo); end IMRegisterPricingAddon("AuctionMaster", GetValue, IsEnabled); end