This commit is contained in:
Manuel Simon Hirsig
2015-10-14 18:19:58 +02:00
3 changed files with 143 additions and 16 deletions
+8 -1
View File
@@ -28,6 +28,7 @@ end
function Aux.buy.dialog_cancel()
Aux.scan.abort()
AuxBuyDialog:Hide()
AuxBuyList:Show()
AuxBuySearchButton:Enable()
end
@@ -149,6 +150,7 @@ function show_dialog(buyout_mode, hyperlink, stack_size, amount)
AuxBuyDialogBuyoutPrice:Hide()
AuxBuyDialogBid:Show()
end
AuxBuyList:Hide()
AuxBuyDialog:Show()
end
@@ -186,7 +188,7 @@ function AuxBuyEntry_OnClick(entry_index)
PlaySound("igMainMenuOptionCheckBoxOn")
local found
local order_key = Aux.auction_key(entry.tooltip, entry.stack_size, amount)
local order_key = Aux.auction_key(entry.tooltip, entry.stack_size, amount)
Aux.scan.start{
query = search_query,
@@ -260,6 +262,11 @@ function AuxBuyEntry_OnClick(entry_index)
AuxBuySearchButton:Enable()
end
end,
next_page = function(page, total_pages)
if not page or page == entry.page then
return entry.page - 1
end
end,
}
end