>wowhelm_
~/forever/addon-api/function/GetCurrencyName

GetCurrencyName

documented function · LuaLocaleContextAPI
GetCurrencyName(currencyCode, style) : result

Returns the display name for a currency in the context locale.

──ARGUMENTS
currencyCode
cstring (The null-terminated 3-letter ISO 4217 currency code.)
style
CurrencyNameStyle (The selector for which kind of currency name to return.)
──RETURNS
result
string (The display string for the currency, or the currency code itself if no localized name is available.)
──DETAILS
May Return Nothing
true
Secret Arguments
AllowedWhenTainted
──VERSION HISTORY

Present since at least 1.60.1.70707, the first build we track.