Mercurial > wow > inventory
view AuctionAddons/Auctioneer.lua @ 15:b11b3c0b5287 v0.1.2-BETA
Changelog update.
author | Zerotorescue |
---|---|
date | Mon, 18 Oct 2010 19:37:36 +0200 |
parents | 5006cb0e97c6 |
children | 7d7aaa3fbe94 |
line wrap: on
line source
do local function GetValue(link) local imgSeen, _, _, _, _, lowBuy, _, _ = AucAdvanced.Modules.Util.SimpleAuction.Private.GetItems(link); --local imgseen, image, matchBid, matchBuy, lowBid, lowBuy, aveBuy, aSeen if imgSeen <= 0 then -- No auctions up at this time return -1; end return lowBuy; end local function IsEnabled() return (AucAdvanced ~= nil and AucAdvanced.Modules.Util.SimpleAuction ~= nil and AucAdvanced.Modules.Util.SimpleAuction.Private.GetItems ~= nil); end IMRegisterPricingAddon("Auctioneer", GetValue, IsEnabled); end