WoW:AddOn defined functions: Difference between revisions

m
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| ]]