GetSellValue

From Warcraft Wiki
Jump to navigation Jump to search
This page documents a user-defined API that is provided by third-party addons.

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.

See also

Addons which have provided (and may still provide) this interface