WoW:User defined functions: Difference between revisions

Move GetPlayerBearing to Map Functions
No edit summary
(Move GetPlayerBearing to Map Functions)
Line 5: Line 5:
== API ==
== API ==
The following functions aim at extending the information WoW API provides; some are provided by specialized addons rather than being copy/pastable.
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.
:[[GetSellValue]](item) - Returns an item's merchant sell price.
:[[GetMinimapShape]]() - Returns a string describing the shape of the minimap (square? round? and more)


== Arguments & Returns ==
== Arguments & Returns ==
Line 33: Line 33:
== Localization Tables ==
== Localization Tables ==
: [[LocalizedClassNames]] - Table of localized classes
: [[LocalizedClassNames]] - Table of localized classes
== Map Functions ==
:[[GetPlayerBearing]]() - Returns the player's current facing bearing based on minimap arrow


== Metatables ==
== Metatables ==
Anonymous user