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 |
+ | * 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
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
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
- Patch 3.3.0 (2009-12-08): Added.
External links
- GitHub FrameXML, Gethe
- Globe "wut?" Tool, Townlong-Yak
- Blizzard API Docs, Townlong-Yak
- Offline /api addon, MrBuds