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()).


See also Auction functions.

Signature:

name, texture, count, quality, canUse, pricePerStack, pricePerItem, maxStack, invCount = 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)
  • pricePerStack - Price to sell this stack of the item to a vendor (in copper). Uses the stack size which was dropped into the auction item slot (and not what might be set in the dialog). (number)
  • pricePerItem - Price to sell the item to a vendor (in copper) (number)
  • maxStack - Maximum stack size of the item (number)
  • invCount - Amount of how many of the item can be found in the player's inventory (number)