Mercurial > wow > inventory
view AuctionAddons/AuctionMaster.lua @ 55:1eff0a6979e9 v0.1.12-BETA
Changelog update.
author | Zerotorescue |
---|---|
date | Mon, 20 Dec 2010 14:31:44 +0100 |
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