WoW:API AuctionFrameAuctions duration: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (→Examples) |
||
Line 1: | Line 1: | ||
{{framexmlmember|AddOns/Blizzard_AuctionUI/Blizzard_AuctionUI.xml}} | {{framexmlmember|AddOns/Blizzard_AuctionUI/Blizzard_AuctionUI.xml}} | ||
Set time in minutes. | |||
AuctionFrameAuctions.duration = | |||
AuctionFrameAuctions.duration = time | |||
== Examples == | == Examples == | ||
Set the short duration button to be checked and set the time | |||
AuctionsShortAuctionButton:SetChecked(1) | AuctionsShortAuctionButton:SetChecked(1) | ||
:AuctionFrameAuctions.duration = 120 | |||
Set the medium duration button to be checked and set the time | |||
AuctionsMediumAuctionButton:SetChecked(1) | AuctionsMediumAuctionButton:SetChecked(1) | ||
:AuctionFrameAuctions.duration = 480 | |||
Set the long duration button to be checked and set the time | |||
AuctionsLongAuctionButton:SetChecked(1) | AuctionsLongAuctionButton:SetChecked(1) | ||
:AuctionFrameAuctions.duration = 1440 |
Revision as of 01:14, 13 February 2021
← WoW API < AuctionFrameAuctions.duration
- This member is implemented by FrameXML in AddOns/Blizzard_AuctionUI/Blizzard_AuctionUI.xml.
Set time in minutes.
AuctionFrameAuctions.duration = time
Examples
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