WoW:AddOn defined functions: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Created page with "{{uisnippets}} stub")
 
No edit summary
Line 9: Line 9:
:[[GetSellValue]](item) - Returns an item's merchant sell price.
:[[GetSellValue]](item) - Returns an item's merchant sell price.
:[[GetMinimapShape]]() - Returns a string describing the shape of the minimap. [square, round, and more]
:[[GetMinimapShape]]() - Returns a string describing the shape of the minimap. [square, round, and more]
== See also ==
== See also ==
{{sectionstub}}
[[Category:AddOn defined functions| ]]

Revision as of 15:17, 18 September 2013

These are cut-and-paste functions that you can use in your addons, submitted by WoWWiki contributors.

See also User defined functions and User defined macros.

API

The following functions aim at extending the information WoW API provides; some are provided by specialized addons rather than being copy/pastable.

GetSellValue(item) - Returns an item's merchant sell price.
GetMinimapShape() - Returns a string describing the shape of the minimap. [square, round, and more]

See also

Icon-edit-22x22.png
Note: This is a generic section stub. You can help expand it by clicking Sprite-monaco-pencil.png Edit on the section title.