Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » I know that API Changed Just trying to make it work...


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off