WoW:UIHANDLER OnTooltipAddMoney: Difference between revisions

m
Move page script moved page UIHANDLER OnTooltipAddMoney to WoW:UIHANDLER OnTooltipAddMoney without leaving a redirect
(Rewrite to better describe what actually happens - it's a script handler, not a function!)
m (Move page script moved page UIHANDLER OnTooltipAddMoney to WoW:UIHANDLER OnTooltipAddMoney without leaving a redirect)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{widgetmethod}}
{{widgethandler}}
 
Invoked when money information needs to be added to a tooltip.
Invoked when money information needs to be added to a tooltip.


== Arguments ==
== Arguments ==
:;arg1: Number - amount of money to add, in copper pieces.
:;arg1: Number - amount of money to add, in copper pieces.


== Example ==
== 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");
Anonymous user