WOW PROJECT ID

The WOW_PROJECT_ID and LE_EXPANSION_LEVEL_CURRENT constants can be used to determine the current expansion level.
Value	Constant 	Description 	FrameXML
 	WOW_PROJECT_ID 	 	
1 	WOW_PROJECT_MAINLINE 	Retail 	BNet.lua
2 	WOW_PROJECT_CLASSIC 	Classic Era 	Constants.lua
5 	WOW_PROJECT_BURNING_CRUSADE_CLASSIC	Burning Crusade Classic	Constants.lua
11 	WOW_PROJECT_WRATH_CLASSIC 	Wrath Classic 	Constants.lua
==Example==
if WOW_PROJECT_ID == WOW_PROJECT_MAINLINE then
	-- mainline
elseif WOW_PROJECT_ID == WOW_PROJECT_WRATH_CLASSIC then
	-- wrath
elseif WOW_PROJECT_ID == WOW_PROJECT_CLASSIC then
	-- vanilla
end
==Patch changes==
==See also==