WoW API: AuctionFrameAuctions.duration

Revision as of 04:45, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API AuctionFrameAuctions duration to API AuctionFrameAuctions duration without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < AuctionFrameAuctions.duration

"I" iconThis member is implemented by FrameXML in AddOns/Blizzard_AuctionUI/Blizzard_AuctionUI.xml.

Set time in minutes.

 AuctionFrameAuctions.duration = time


ExamplesEdit

Set the short duration button to be checked and set the time

 AuctionsShortAuctionButton:SetChecked(1)
AuctionFrameAuctions.duration = 120

Set the medium duration button to be checked and set the time

 AuctionsMediumAuctionButton:SetChecked(1)
AuctionFrameAuctions.duration = 480

Set the long duration button to be checked and set the time

 AuctionsLongAuctionButton:SetChecked(1)
AuctionFrameAuctions.duration = 1440