API GetServerExpansionLevel

Returns the expansion level currently active on the server.
 serverExpansionLevel = GetServerExpansionLevel()
==Returns==
:;serverExpansionLevel:
==Details==
* This does not update on pre-patch and only when the expansion actually launches; requires a client restart to update, if still in-game.
==Example==
Before and after the Shadowlands global launch at November 23 2020 at 3:00 p.m. PST.
 /dump GetServerExpansionLevel() -- 7 -> 8
==Patch changes==