Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API C BlackMarket.GetItemInfoByID

Last wiki revision 2022-08-01

Returns info for a Black Market auction. name, texture, quantity, itemType, usable, level, levelType, sellerName, minBid, minIncrement, currBid, youHaveHighBid, numBids, timeLeft, link, marketID = C_BlackMarket.GetHotItem = C_BlackMarket.GetItemInfoByID(marketID) = C_BlackMarket.GetItemInfoByIndex(index)

You can use to retrieve information about a "Hot Item!" auction picked by the server, to iterate through all auctions, and to retrieve information about specific auctions. These three functions have identical return values.

  • marketID: - black market auction ID.
  • index: - black market auction index, ascending from 1 to
  • name: - item name; nil if no such auction exists.
  • texture: - icon texture path.
  • quantity: - amount of the item included in the auction.
  • itemType: - item type, e.g. "Quest", "Mail", or "Companion Pet"
  • level: - item level requirement.
  • levelType: - e.g. "REQ_LEVEL_ABBR"
  • sellerName: - localized name of the NPC "selling" the item.
  • minBid: - minimum amount of copper you can bid for this item.
  • minIncrement: - minimum amount of copper you must increase the current bid by.
  • currBid: - the maximum current bid in copper.
  • youHaveHighBid: - true if your bid on this item is currently the highest bid, false otherwise.
  • numBids: - number of bids made on this item.
  • timeLeft: - token indicating remaining auction duration, 0 for completed auctions, larger values indicate larger remaining durations. For a localized text version, use.
  • link: - Chat link of the item being auctioned.
  • marketID: - Black Market auction ID of this auction.
  • These functions will only return information when the black market UI is open (according to the server, i.e. has fired, and has not fired since).
  • You may refresh available information by calling ; fires to indicate that the return values of these functions may have changed.

Source

https://warcraft.wiki.gg/wiki/API_C_BlackMarket.GetItemInfoByID · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.