Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Advertisement

Searches for favorited items.

C_AuctionHouse.SearchForFavorites(sorts)

Arguments[]

sorts
AuctionHouseSortType[]
Field Type Description
sortOrder Enum.AuctionHouseSortOrder?
reverseSort boolean?
Enum.AuctionHouseSortOrder
Value Field Description
0 Price
1 Name
2 Level
3 Bid
4 Buyout
5 TimeRemaining Only works for Owned auctions. Added in 9.0.1

Example[]

Searches for favorites.

function Example() -- /run Example()
	C_AuctionHouse.SearchForFavorites({})
end

Sorts by price (ascending), and then name (descending).

local sorts = {
	{sortOrder = Enum.AuctionHouseSortOrder.Price, reverseSort = false},
	{sortOrder = Enum.AuctionHouseSortOrder.Name, reverseSort = true},
}

function Example() -- /run Example()
	C_AuctionHouse.SearchForFavorites(sorts)
end

API C AuctionHouse.SearchForFavorites

Patch changes[]

Battle for Azeroth Patch 8.3.0 (2020-01-14): Added.


Advertisement