Fix OnEvent handler example to use vanilla globals

This commit is contained in:
Brues
2026-07-18 15:44:40 -05:00
parent bdef428ff7
commit bedc5d6740
+1 -1
View File
@@ -856,7 +856,7 @@ buyout normalization, duration check) applies to each stack.
local f = CreateFrame("Frame")
for _, e in ipairs({"AUCTION_MULTISELL_START", "AUCTION_MULTISELL_UPDATE",
"AUCTION_MULTISELL_FAILURE"}) do f:RegisterEvent(e) end
f:SetScript("OnEvent", function(_, e, a, b) print(e, a, b) end)
f:SetScript("OnEvent", function() print(event, arg1, arg2) end)
-- At an open auction house: post 3 stacks of 5, 2h, 100 bid / 200 buyout each
C_AuctionHouse.PostItem({ bagID = 0, slotIndex = 1 }, 1, 5, 3, 100, 200)