RSS

Четверг, 14.11.2024, 19:00
Главная » WoW API » API Функции » Аукцион »

SortAuctionApplySort

[ править ]
Applies a set of auction listing sort criteria set via [[docs/api/SortAuctionSetSort|`SortAuctionSetSort`]]
[клоны]
Applies a set of auction listing sort criteria set via SortAuctionSetSort. Sort criteria are applied server-side, affecting not only the order of items within one "page" of listings but the order in which items are collected into pages.

Any currently displayed listings are re-sorted server-side: the AUCTION_ITEM_LIST_UPDATE, AUCTION_BIDDER_LIST_UPDATE, or AUCTION_OWNED_LIST_UPDATE event fires once the re-sorted data is available to the client; listing information can then be retrieved using GetAuctionItemInfo() or other Auction APIs.
Signature:
Code
SortAuctionApplySort("list")

Arguments:
  • list - Type of auction listing (string)
      bidder - Auctions the player has bid on
    • list - Auctions the player can browse and bid on or buy out
    • owner - Auctions the player placed

Также смотрите: Аукцион , Auction functions
Ссылки: http://wowprogramming.com/docs/api/SortAuctionApplySort