WoW:AddOn defined functions: Difference between revisions

m
Move page script moved page AddOn defined functions to WoW:AddOn defined functions without leaving a redirect
(Created page with "{{uisnippets}} stub")
 
m (Move page script moved page AddOn defined functions to WoW: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| ]]
Anonymous user