From bd4dea03fda3ccbd5d9182f3de8893e71810fb23 Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Sun, 20 Mar 2016 20:18:37 +0100 Subject: [PATCH] some comments --- merchant.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/merchant.lua b/merchant.lua index c674cb0..31671ca 100644 --- a/merchant.lua +++ b/merchant.lua @@ -17,6 +17,8 @@ function public.info(item_id) return aux_merchant_sell[item_id], unit_price, limited end +-- TODO hook GetAuctionSellItemInfo() + function private.scan_merchant() Aux.util.loop_inventory(function(bag, slot) local item_info = Aux.info.container_item(bag, slot) @@ -25,7 +27,7 @@ function private.scan_merchant() end end) --- local merchant_name = UnitName('npc') +-- TODO maybe more detail? zone or local merchant_name = UnitName('npc') local merchant_item_count = GetMerchantNumItems() for i=1,merchant_item_count do local item_id = Aux.info.parse_hyperlink(GetMerchantItemLink(i))