WoW API: GetTargetTradeMoney

From AddOn Studio
Revision as of 04:46, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API GetTargetTradeMoney to API GetTargetTradeMoney without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < GetTargetTradeMoney

Gets the amount of money in the trade window for the target user.

GetTargetTradeMoney();

Arguments
(none)

Returns

Returns a string in the format of ggggsscc where g is gold, s is silver, and c is copper.


Example
x = GetTargetTradeMoney();
Result

This function will return a string "692214", for 69g 22s 14c.


Description
Retreives the amount of money the target user is giving to the current user (you) for a trade session.