API:AuctionNextPage

__NOTOC__
Advances to the next page in the auction search result
==Parameters==
=== Arguments ===
=== Returns ===
:nil
== Examples ==
After issuing a search all pages will be processed
MyAddon.page = 1
-- This function should be registered to the AUCTION_SEARCH_RESULT event
function MyAddon:AUCTION_SEARCH_RESULT()
	local item = 1
	local id, name, count, quality, texture, level, leftTime, seller, isBuyer, moneyMode, bidPrice, buyoutPrice = GetAuctionBrowseItemInfo(self.page, self.item)
	
	while id ~= nil then
		-- Do something with the item details here
		item = item + 1
		id, name, count, quality, texture, level, leftTime, seller, isBuyer, moneyMode, bidPrice, buyoutPrice = GetAuctionBrowseItemInfo(self.page, self.item)
	end
	
	if AuctionBrowseList.nextPage then
		print("Advance to next page")
		AuctionNextPage() -- This will trigger a AUCTION_SEARCH_RESULT event when the next page is loaded
		self.page = self.page + 1
	else
		print("All pages scanned")
	end
end
Category:API Auction Function