Quantcast
WoWInterface - View Single Post - Simple auc question - How to browse all batte pets?
View Single Post
08-10-20, 01:49 PM   #5
Robotron
A Defias Bandit
Join Date: May 2020
Posts: 3
Credits: plusmouse from https://discord.gg/cXFrth
Code:
local query = {
   searchString = "",
   sorts = { { sortOrder=0, reverseSort=false } },
   itemClassFilters = { { classID = LE_ITEM_CLASS_BATTLEPET } },
   filters = {}
}

C_AuctionHouse.SendBrowseQuery(query)
sorts is a list of the sorting values. Notice the type signature in the docs AuctionHouseSortType[] and the same for itemClassFilters being AuctionHouseItemClassFilter[]
https://www.townlong-yak.com/framexm...endBrowseQuery

Last edited by Robotron : 08-10-20 at 02:21 PM.
  Reply With Quote