WoW:API AuctionFrameAuctions duration: Difference between revisions

m
mNo edit summary
Line 1: Line 1:
{{framexmlmember|AddOns/Blizzard_AuctionUI/Blizzard_AuctionUI.xml}}
{{framexmlmember|AddOns/Blizzard_AuctionUI/Blizzard_AuctionUI.xml}}


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


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