Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

GetSellValue

Last wiki revision 2017-11-09

GetSellValue is an obsolete user-defined API that was intended to provide a simple, consistent API for addons to query other addons to get the vendor sell value of an item. As of patch 3.2, this interface is no longer needed as the built-in API GetItemInfo provides the vendor sell value as the 11th parameter.

An addon that needs the vender sell price for an item can get it as follows:

sellToVendorPrice = select (11, GetItemInfo(item))

Addons may continue to support GetSellValue for a while but it should be considered deprecated and any addons that still call it should to switch to GetItemInfo.

  • GetAuctionBuyout
  • Informant of the Auctioneer AddOns Package by The Auctioneer AddOns Team.
  • ItemDataCache (v1.11 and higher).
  • ItemPriceTooltip by Bam.
  • SellFish by Tuller.
  • Valuation by Polarina.
  • Auctionator by Zirco.
  • AuctionLite by Merial.

Source

https://warcraft.wiki.gg/wiki/GetSellValue · 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.