m
Move page script moved page UIHANDLER OnTooltipAddMoney to WoW:UIHANDLER OnTooltipAddMoney without leaving a redirect
No edit summary |
m (Move page script moved page UIHANDLER OnTooltipAddMoney to WoW:UIHANDLER OnTooltipAddMoney without leaving a redirect) |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{widgethandler}} | |||
Invoked when money information needs to be added to a tooltip. | |||
== Arguments == | |||
:;arg1: Number - amount of money to add, in copper pieces. | |||
:; | |||
== Example == | |||
-- overload the base function with a custom routine | -- overload the base function with a custom routine | ||
Saved_OnTooltipAddMoney = MyTooltip:GetScript("OnTooltipAddMoney"); | Saved_OnTooltipAddMoney = MyTooltip:GetScript("OnTooltipAddMoney"); | ||
| Line 34: | Line 16: | ||
== Details == | |||
: This function was added in v1.7 and replaces the functionality that used to be provided by trapping the TOOLTIP_ADD_MONEY event. It is most commonly used to get merchant sell values when you scan the items in the inventory. | |||
: This function | |||