WoW:API MoneyInputFrame GetCopper: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (This is in fact a real API (at least now, dunno about before), so changed to mark as such)
m (Move page script moved page API MoneyInputFrame GetCopper to API MoneyInputFrame GetCopper without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{wowapi}} __NOTOC__
{{wowapi}}
 
Returns the amount of money entered in a MoneyInputFrame in copper pieces.
Returns the amount of money entered in a MoneyInputFrame in copper pieces.
local copper = MoneyInputFrame_GetCopper(moneyFrame)


copper = MoneyInputFrame_GetCopper(moneyFrame)
== Parameters ==
 
=== Arguments ===
== Arguments ==
* moneyFrame (frame) - The money frame, to calculate the copper pieces for.
:(moneyFrame)
 
:;moneyFrame : Frame - The money frame, to calculate the copper pieces for.


== Returns ==
== Returns ==
:;copper : Number - The amount of money in the specified money frame in copper pieces.
* 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.
::: 0, if nothing was entered in the money frame (i.e. all editboxes are empty).

Latest revision as of 04:46, 15 August 2023

WoW API < MoneyInputFrame GetCopper

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

local copper = MoneyInputFrame_GetCopper(moneyFrame)

Parameters[edit]

Arguments[edit]

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

Returns[edit]

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