View Single Post
11-08-20, 07:19 AM   #7
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,877
C_CurrencyInfo.GetCurrencyListInfo returns a table of information now rather than the parameters the old version returned
Instead of:
Code:
cname, _, _, _, _, ccount, _, _, citemID = GetCurrencyListInfo(idx)
use:
Lua Code:
  1. local info = C_CurrencyInfo.GetCurrencyListInfo(idx)
  2. cname = info.name
  3. ccount = info.quantity
  4. -- citemID doesn't seem to be used so...
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.
  Reply With Quote