RSS

Пятница, 26.04.2024, 16:58
Главная » WoW API » API Функции » Аукцион »

GetAuctionItemTimeLeft

[ править ]
Returns the time remaining before an auction listing expires.
[клоны]
Returns the time remaining before an auction listing expires.

Signature:
Code
duration = GetAuctionItemTimeLeft("list", index)

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

  • index - Index of an auction in the listing (number)

Returns:
  • duration - General indication of the amount of time remaining on the auction (number)
      1 - Short (less than 30 minutes)
    • 2 - Medium (30 minutes to 2 hours)
    • 3 - Long (2 hours to 12 hours)
    • 4 - Very Long (more than 12 hours)

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