Ru-MaNGOS

Ru-MaNGOS (http://mangos.ytdb.ru/index.php)
-   Отвергнутые патчи (http://mangos.ytdb.ru/forumdisplay.php?f=50)
-   -   Auction: server side sorting and get all auctions (http://mangos.ytdb.ru/showthread.php?t=4202)

TOM_RUS 25.04.2011 06:17

Auction: server side sorting and get all auctions
 
https://gist.github.com/939982

Код:

-  Sorting of auction house searches has been simplified so you can only
  sort by one column, and automatic sub-sorts have been created for
  those columns to be as useful as possible.  In addition, sorting is
  now done on the server so as you page thru results, items will appear
  to be sorted across the entire results instead of just the page
  you’re looking at.

GetAll
Код:

QueryAuctionItems([getAll]) -- Added a new boolean argument, setting it to true
will retrieve all auction house data (not just 50 items). This can only be used once
every 5 minutes. This is intended to reduce our load from add-ons such as auctioneer
that are going to download the entire auction house anyways

http://wowprogramming.com/forums/development/76


Текущее время: 09:37. Часовой пояс GMT +3.

ru-mangos.ru - Русское сообщество MaNGOS