WoW API: MoneyInputFrame:GetCopper

Revision as of 14:45, 4 May 2007 by WoWWiki>Luke1410 (initial documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

Template:Code/Begin copper = MoneyInputFrame_GetCopper(moneyFrame) Template:Code/End

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).