WoW:AddOn defined functions: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Created page with "{{uisnippets}} stub")
 
m (Move page script moved page AddOn defined functions to AddOn defined functions without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
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.
 
:{{id|USERAPI|GetSellValue}}(item) - Returns an item's merchant sell price.
:{{id|USERAPI|GetMinimapShape}}() - Returns a string describing the shape of the minimap. [square, round, and more]
:{{id|USERAPI|SetAddOnDetail}}() - AddOn details registration
:{{id|USERAPI|GetAuctionBuyout}}() - getting auction house buyout price recommendations
:{{id|USERAPI|ConfigMode}} - addon cooperation for highlighting addon screen area


== 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 ==
== See also ==
* [[:Category:HOWTOs]] - must have cut-and-pasteable code snippets
[[Category:AddOn defined functions| ]]

Latest revision as of 04:44, 15 August 2023

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[edit]

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[edit]