WoW API: MoneyInputFrame GetCopper

From AddOn Studio
Revision as of 00:42, 11 February 2021 by Bear (talk | contribs)
Jump to navigation Jump to search

WoW API < MoneyInputFrame GetCopper

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

local copper = MoneyInputFrame_GetCopper(moneyFrame)

Parameters

Arguments

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