RSS

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

GetAuctionSellItemInfo

[ править ]
Returns information about the item currently being set up for auction.
[клоны]
Returns information about 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()).
Signature:
Code
name, texture, count, quality, canUse, price = GetAuctionSellItemInfo()

Returns:
  • name - Name of the item (string)
  • texture - Path to an icon texture for the item (string)
  • count - Number of items in the stack (number)
  • quality - Quality (rarity) level of the item (number, itemQuality)
  • canUse - 1 if the player character can use or equip the item; otherwise nil (1nil)
  • price - Price to sell the item to a vendor (in copper) (number)

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