WowAddons

World of Warcraft Forever API · C_SeasonInfo.md, for your AI

C_SeasonInfo

3 functions, as Blizzard documents them for Forever 1.60.1 (70959).

Making an addon with an AI? Tell it: Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it. It checks every call against this API before you try it in the game, then publishes it here. How it works.

Functions

C_SeasonInfo.GetCurrentDisplaySeasonExpansion

expansionID = C_SeasonInfo.GetCurrentDisplaySeasonExpansion()

Returns

expansionIDnumber may be nil

C_SeasonInfo.GetCurrentDisplaySeasonID

seasonID = C_SeasonInfo.GetCurrentDisplaySeasonID()

Returns

seasonIDnumber

C_SeasonInfo.GetTimeUntilCurrentPVPSeasonEnd

timeInSeconds = C_SeasonInfo.GetTimeUntilCurrentPVPSeasonEnd()

Returns

timeInSecondsnumber

Il te faut WowAddons

Gratuit, pour Windows, macOS et Linux : il met l’addon dans ton jeu en un clic et le tient à jour. Ouvre-le une fois, puis appuie de nouveau sur Installer.

WowAddons tourne sur ton ordinateur : ouvre wowaddons.gg dessus.

Télécharger pour Windows