This commit is contained in:
Simon Hirsig
2017-11-01 15:10:02 +01:00
parent 8823b34904
commit ac49811f27
4 changed files with 26 additions and 8 deletions
+14 -8
View File
@@ -218,14 +218,20 @@ function AUCTION_HOUSE_SHOW()
set_tab(1)
end
function AUCTION_HOUSE_CLOSED()
bids_loaded = false
current_owner_page = nil
post.stop()
stack.stop()
scan.abort()
set_tab()
AuxFrame:Hide()
do
local handlers = {}
function set_handler.CLOSE(f)
tinsert(handlers, f)
end
function AUCTION_HOUSE_CLOSED()
bids_loaded = false
current_owner_page = nil
for _, handler in handlers do
handler()
end
set_tab()
AuxFrame:Hide()
end
end
function AUCTION_BIDDER_LIST_UPDATE()
+4
View File
@@ -7,6 +7,10 @@ local stack = require 'aux.core.stack'
local state
function handle.CLOSE()
stop()
end
function process()
if state.posted < state.count then
+4
View File
@@ -9,6 +9,10 @@ local history = require 'aux.core.history'
local PAGE_SIZE = 50
function handle.CLOSE()
abort()
end
do
local scan_states = {}
+4
View File
@@ -8,6 +8,10 @@ local info = require 'aux.util.info'
local state
function handle.CLOSE()
stop()
end
function stack_size(slot)
local container_item_info = T.temp-info.container_item(unpack(slot))
return container_item_info and container_item_info.count or 0