View Single Post
01-19-23, 11:35 PM   #1
TransformedBG
A Fallenroot Satyr
Join Date: Oct 2010
Posts: 23
Post I know that API Changed Just trying to make it work...

So classic addons crashed obviously since the API updated. one of the functions I was using was using.
GetCurrencyListSize() which simply changed to C_CurrencyInfo.GetCurrencyListSize()

however now no matter what I try it it's now returning nil

from my understanding it sould be returning a number

C_CurrencyInfo.GetCurrencyListSize()
Return values
# Name Type
1 currencyListSize number

even doing something similiar in game like
/script local zebra = C_CurrencyInfo.GetCurrencyListSize()
/print(zebra)

returns a nil value.

just looking for any thoughts or ideas. thanks
  Reply With Quote