C_AuctionHouse .SearchForFavorites
Jump to navigation
Jump to search
Flavors |
---|
Links |
Info |
Added in 8.3.0 |
This function is restricted.
|
Searches for favorited items.
C_AuctionHouse.SearchForFavorites(sorts)
Arguments
- sorts
- AuctionHouseSortType[]
Field | Type | Description |
---|---|---|
sortOrder | Enum.AuctionHouseSortOrder? | |
reverseSort | boolean? |
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
Patch changes
Patch 8.3.0 (2020-01-14): Added.
|