Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Register
Tag: WoW API docs
Tag: WoW API docs
Line 11: Line 11:
   
 
== Example ==
 
== Example ==
* Before and after the Shadowlands global launch at November 23 at 3:00 p.m. PST. Requires the player to have pre-ordered/purchased the expansion, having {{api|GetAccountExpansionLevel}}() return 8
+
* Before and after the Shadowlands global launch at November 23 at 3:00 p.m. PST. Requires the player to have pre-ordered/purchased the expansion.
 
/dump GetExpansionLevel() -- 7 -> 8
 
/dump GetExpansionLevel() -- 7 -> 8
  +
/dump GetAccountExpansionLevel() -- 8
   
 
== Patch changes ==
 
== Patch changes ==

Revision as of 23:21, 23 November 2020

Returns level of expansion currently accessible by the player.

expansionLevel = GetExpansionLevel()

Returns

expansionLevel
number - The newest expansion currently accessible by the player.

Enum LE EXPANSION

Details

  • Trial/Starter accounts are automatically upgraded to the second to last expansion.

Example

  • Before and after the Shadowlands global launch at November 23 at 3:00 p.m. PST. Requires the player to have pre-ordered/purchased the expansion.
/dump GetExpansionLevel() -- 7 -> 8
/dump GetAccountExpansionLevel() -- 8

Patch changes

External links