WoW:API MoneyInputFrame GetCopper: Difference between revisions
Jump to navigation
Jump to search
(removed code block) |
m (This is in fact a real API (at least now, dunno about before), so changed to mark as such) |
||
Line 1: | Line 1: | ||
{{ | {{wowapi}} __NOTOC__ | ||
Returns the amount of money entered in a MoneyInputFrame in copper pieces. | Returns the amount of money entered in a MoneyInputFrame in copper pieces. |
Revision as of 00:54, 6 October 2007
← WoW API < MoneyInputFrame GetCopper
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).