Wowpedia
Advertisement
Game Flavors
Links
Patch
Added in 8.3.0

Cancels an auction.

C_AuctionHouse.CancelAuction(ownedAuctionID)

Arguments

ownedAuctionID 
number

Example

  • Cancels the currently selected auction.
function Example() -- /run Example()
	C_AuctionHouse.CancelAuction(AuctionHouseFrame.AuctionsFrame.selectedAuctionID)
end
  • Presses the "Cancel Auction" button, in a macro suitable format which uses a secure template.
/run if not AHCanc then local f=CreateFrame("Button","AHCanc",nil,"SecureActionButtonTemplate")f:SetAttribute("type","click")f:SetAttribute("clickbutton",AuctionHouseFrame.AuctionsFrame.CancelAuctionButton)end
/click AHCanc
/click StaticPopup1Button1

Patch changes

See also


Advertisement