RSS

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

CalculateAuctionDeposit

[ править ]
Returns the deposit amount for the item currently being set up for auction.
[клоны]
Returns the deposit amount for the item currently being set up for auction. Only returns useful information once an item has been placed in the Create Auction UI's "auction item" slot (see ClickAuctionSellItemButton()).

Deposit amount for an auction varies based on the item being auction, the auction's proposed run time, and the auction house being used (i.e. faction or neutral).

Signature:
Code
deposit = CalculateAuctionDeposit(runTime)

Arguments:
  • runTime - Run time of the proposed auction (number)
      720 - 12 hours
    • 1440 - 24 hours
    • 2880 - 48 hours

Returns:
  • deposit - Amount of the deposit (in copper) (number)

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