WoW:API MoneyInputFrame GetCopper: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(initial documentation)
 
(removed code block)
Line 1: Line 1:
{{framexmlfunc|FrameXML/MoneyInputFrame.lua}} __NOTOC__
{{framexmlfunc|FrameXML/MoneyInputFrame.lua}}


Returns the amount of money entered in a MoneyInputFrame in copper pieces.
Returns the amount of money entered in a MoneyInputFrame in copper pieces.


{{Code/Begin}}
copper = MoneyInputFrame_GetCopper(moneyFrame)
copper = MoneyInputFrame_GetCopper(moneyFrame)
{{Code/End}}


== Arguments ==
== Arguments ==

Revision as of 00:21, 13 May 2007

WoW API < MoneyInputFrame:GetCopper

"I" iconThis function is implemented in Lua here FrameXML/MoneyInputFrame.lua.

Returns the amount of money entered in a MoneyInputFrame in copper pieces.

copper = MoneyInputFrame_GetCopper(moneyFrame)

Arguments

(moneyFrame)
moneyFrame
Frame - The money frame, to calculate the copper pieces for.

Returns

copper
Number - The amount of money in the specified money frame in copper pieces.
0, if nothing was entered in the money frame (i.e. all editboxes are empty).