view Plugins/AuctionAddons/Auctionator.lua @ 126:acb5b2afcc28

Added required/optional dependencies to the pkgmeta.
author Zerotorescue
date Sun, 16 Jan 2011 01:43:42 +0100
parents 3bec0ea44607
children
line wrap: on
line source
do
	
	local function GetValue(link)
		return Atr_GetAuctionBuyout(link) or -1;
	end
	
	local function IsEnabled()
		return (Atr_GetAuctionBuyout);
	end
	
	IMRegisterPricingAddon("Auctionator", GetValue, IsEnabled);
	
end