function Auctionator.Events.OnAuctionHouseShow() Auctionator.Debug.Message("Auctionator.Events.OnAuctionHouseShow()") if AuctionFrame == nil then return end Auctionator.AH.Initialize() if Auctionator.State.AuctionatorFrame == nil then Auctionator.State.AuctionatorFrame = CreateFrame("FRAME", "AuctionatorAHFrame", AuctionFrame, "AuctionatorAHFrameTemplate") end FrameUtil.RegisterFrameForEvents(Auctionator.State.AuctionatorFrame, { "AUCTION_HOUSE_SHOW", "AUCTION_HOUSE_CLOSED" }) end