World of Warcraft Forever API · GetCoinTextureString.md, for your AI
GetCoinTextureString is not in Forever
An addon that calls it stops at /reload with attempt to call global 'GetCoinTextureString' (a nil value). Write C_CurrencyInfo.GetCoinTextureString instead: its arguments and returns may differ from the old GetCoinTextureString, read them below.
C_CurrencyInfo.GetCoinTextureString
result = C_CurrencyInfo.GetCoinTextureString(amount, [fontHeight])
Arguments
amount | WOWMONEY | |
|---|---|---|
fontHeight | number default 14 |
Returns
result | cstring |
|---|
Every other call of the C_CurrencyInfo system: C_CurrencyInfo. The WowAddons app checks a whole addon before the game does: wowaddons check names each call Forever lacks and what to write instead.
Making an addon with an AI? Tell it: Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it. It checks every call against this API before you try it in the game, then publishes it here. How it works.