WoW:User defined functions: Difference between revisions

GetPlayerBearing
m (→‎String Functions: Added CountChars and alphabatized printMSG)
(GetPlayerBearing)
Line 1: Line 1:
{{wowapi}}{{breadcrumb|Interface Customization}}
{{wowapi}}


These are cut-and-paste functions that you can use in your addons, submitted by WoWWiki contributors.
These are cut-and-paste functions that you can use in your addons, submitted by WoWWiki contributors.
== API ==
The following functions aim at extending the information WoW API provides; some are provided by specialized addons rather than being copy/pastable.
:[[GetPlayerBearing]]() - Returns the player's current facing bearing.
:[[GetSellValue]](item) - Returns an item's merchant sell price.


== Arguments & Returns ==
== Arguments & Returns ==