Navigation menu

WoW:API GetAccountExpansionLevel: Difference between revisions

Jump to navigation Jump to search
m
Move page script moved page API GetAccountExpansionLevel to WoW:API GetAccountExpansionLevel without leaving a redirect
No edit summary
m (Move page script moved page API GetAccountExpansionLevel to WoW:API GetAccountExpansionLevel without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:


== Returns ==
== Returns ==
; expansionLevel : Number - 0 = [[World of Warcraft|Classic]], 1 = [[World of Warcraft: The Burning Crusade|Burning Crusade]], 2 = [[World of Warcraft: Wrath of the Lich King|Wrath of the Lich King]], 3 = [[World of Warcraft: Cataclysm|Cataclysm]]
* expansionLevel (number) - 0 = [[World of Warcraft|Classic]], 1 = [[World of Warcraft: The Burning Crusade|Burning Crusade]], 2 = [[World of Warcraft: Wrath of the Lich King|Wrath of the Lich King]], 3 = [[World of Warcraft: Cataclysm|Cataclysm]]


== Examples ==
== Examples ==
Line 16: Line 16:
Calling this gives the maximum level the player can reach depending on expansion installed.
Calling this gives the maximum level the player can reach depending on expansion installed.
  MAX_PLAYER_LEVEL_TABLE[GetAccountExpansionLevel()];
  MAX_PLAYER_LEVEL_TABLE[GetAccountExpansionLevel()];
== Notes ==
* API system: Expansion
* API namespace: ''none''
Anonymous user