GetCurrencyName
ESO Lua API function — used by 28 of the 3,030 addons we indexed (combined 11,719,042 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
GetCurrencyName([CurrencyType|#CurrencyType] currencyType, bool isSingular, bool isLower)Returns: string name
Real usage — from Dolgubon's Lazy Writ Crafter
sceneName = "TimedActivitiesGamepad",
tooltipDescription = zo_strformat(SI_GAMEPAD_ACTIVITY_FINDER_TOOLTIP_TIMED_ACTIVITIES, GetCurrencyName(primaryCurrencyType), GetString(SI_GAMEPAD_MAIN_MENU_ENDEAVOR_SEAL_MARKETShort excerpt from the shipping addon Dolgubon's Lazy Writ Crafter — its ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.
Most-downloaded addons using it
| Addon | Total downloads |
|---|---|
| Dolgubon's Lazy Writ Crafter | 9,498,314 |
| LibLootSummary | 576,385 |
| PersonalAssistant (Banking, Consume, Junk, Loot, Repair, Worker) [Masteroshi430's branch] | 487,232 |
| CyrHUD | 325,521 |
| Bar Steward - Multi Toolbar | 204,140 |
| Lykeion's AutoLoot+ | 177,775 |