C_CurrencyInfo.GetCurrencyInfo
Blizzard removed the texture path argument from GetCurrencyInfo() when they changed it over to C_CurrencyInfo.GetCurrencyInfo(). I'm trying to create fontstrings for currencies and can't find a way to get the filePath from textureID/FileID for anything. Any suggestions?
|
I think you can use the id number in place of an actual path based on Blizzard's code:
Lua Code:
|
It was not removed, it was converted to a fileID instead back in I believe Legion. Then, Shadowlands converted the function to return a table. The fileID is under the key "iconFileID".
https://wow.gamepedia.com/API_C_Curr...etCurrencyInfo The following code will print "You have ## of Soul Ash" in chat with the Soul Ash icon right before the name. Lua Code:
|
Thanks for the help.
@Kanegasi; Yeah I know they swapped over to ID, perhaps removed was the wrong word but you knew what I meant. I didn't even try to put the FileID in the fontstring, now I feel like an idiot, lol. |
All times are GMT -6. The time now is 12:17 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI