World of Warcraft Forever API · ExpansionInfo.md, for your AI
ExpansionInfo (global functions)
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
ClassicExpansionAtLeast
isAtLeast = ClassicExpansionAtLeast(expansionLevel)
Arguments
expansionLevel | number |
|---|
Returns
isAtLeast | bool |
|---|
ClassicExpansionAtMost
isAtMost = ClassicExpansionAtMost(expansionLevel)
Arguments
expansionLevel | number |
|---|
Returns
isAtMost | bool |
|---|
GetClassicExpansionLevel
expansionLevel = GetClassicExpansionLevel()
Returns
expansionLevel | number |
|---|