WoW:AddOn defined functions: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
{{uisnippets}}
{{userapi}}


These are cut-and-paste functions that you can use in your addons, submitted by WoWWiki contributors.
These are cut-and-paste functions or functrions that are commonly available in other AddOns, submitted by WoWWiki contributors, that you can use in your [[AddOns]] and [[Macros]].


See also [[User defined functions]] and [[User defined macros]].
== Reference ==
The following functions aim at extending the information WoW API provides; some are provided by specialized addons rather than being copy/pastable.


== API ==
:{{id|USERAPI|GetSellValue}}(item) - Returns an item's merchant sell price.
The following functions aim at extending the information WoW API provides; some are provided by specialized addons rather than being copy/pastable.
:{{id|USERAPI|GetMinimapShape}}() - Returns a string describing the shape of the minimap. [square, round, and more]
:[[GetSellValue]](item) - Returns an item's merchant sell price.
:{{id|USERAPI|SetAddOnDetail}}() - AddOn details registration
:[[GetMinimapShape]]() - Returns a string describing the shape of the minimap. [square, round, and more]
:{{id|USERAPI|GetAuctionBuyout}}() - getting auction house buyout price recommendations
:{{id|USERAPI|ConfigMode}} - addon cooperation for highlighting addon screen area


== See also ==
== See also ==
{{sectionstub}}
* [[:Category:HOWTOs]] - must have cut-and-pasteable code snippets
 
[[Category:AddOn defined functions| ]]
[[Category:AddOn defined functions| ]]

Revision as of 17:53, 21 September 2013

This page documents a <i>user-defined API</i> that is provided by third-party addons.

Snippets

These are cut-and-paste functions or functrions that are commonly available in other AddOns, submitted by WoWWiki contributors, that you can use in your AddOns and Macros.

Reference

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]
SetAddOnDetail() - AddOn details registration
GetAuctionBuyout() - getting auction house buyout price recommendations
ConfigMode - addon cooperation for highlighting addon screen area

See also