WoW:API AuctionFrameAuctions duration: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
({{framexml}})
m (Move page script moved page API AuctionFrameAuctions duration to API AuctionFrameAuctions duration without leaving a redirect)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{framexml}}
{{framexmlmember|AddOns/Blizzard_AuctionUI/Blizzard_AuctionUI.xml}}


  AuctionFrameAuctions.duration = ''time in minutes''
Set time in minutes.


  AuctionFrameAuctions.duration = time


  //set the short duration button to be checked and set the time
 
   AuctionsShortAuctionButton:SetChecked(1);
== Examples ==
  AuctionFrameAuctions.duration = 120;
Set the short duration button to be checked and set the time
 
   AuctionsShortAuctionButton:SetChecked(1)
  //set the medium duration button to be checked and set the time
:AuctionFrameAuctions.duration = 120
   AuctionsMediumAuctionButton:SetChecked(1);
 
  AuctionFrameAuctions.duration = 480;
Set the medium duration button to be checked and set the time
 
   AuctionsMediumAuctionButton:SetChecked(1)
  //set the long duration button to be checked and set the time
:AuctionFrameAuctions.duration = 480
   AuctionsLongAuctionButton:SetChecked(1);
 
  AuctionFrameAuctions.duration = 1440;
Set the long duration button to be checked and set the time
   AuctionsLongAuctionButton:SetChecked(1)
:AuctionFrameAuctions.duration = 1440

Latest revision as of 04:45, 15 August 2023

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


Examples[edit]

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