Our first step of the new Authors Portal is Live! Learn more or click here to check it out!
Dear fellow addon developers,
is there anyone who can tell me how to use the API to detect whether a player is using Chromie Time for leveling?
I need it to enable an addon library to determine the applicable level range of zones and instances.
Thanks a lot & best regards,
To answer my own question: by using the new API called C_ChromieTime.
This function should do the trick:
C_ChromieTime.GetChromieTimeExpansionOptions()Returns a table listing all available timewalking expansion campaigns.
It returns a collection of ChromieTimeExpansionInfo structs, each containing
I'm assuming aleadyOn will tell me whether Chromie Time is active and for which expansion.
I know you answered your own question, but for future use and for anyone else coming here:
I'd highly recommend you join the WoW UI Dev discord: https://discord.gg/CGHSGyX
These forums are relatively dead and a huge chunk of the most prominent addon devs are on there, many of whom are more than happy to help out with questions, given there is a Lua Help channel.
Thanks, because this forum wasn't very helpful ;-)