Quantcast
PSA: TBC got its own project id - WoWInterface
Thread Tools Display Modes
04-12-21, 07:46 PM   #1
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,275
PSA: TBC got its own project id

As of build 38285 BC Classic now has its own WOW_PROJECT_ID of 5 so addons that have conditional code for the different client flavors can simplify their checks.

Code:
WOW_PROJECT_MAINLINE = 1
WOW_PROJECT_CLASSIC = 2
WOW_PROJECT_BURNING_CRUSADE_CLASSIC = 5
Checking the global WOW_PROJECT_ID against one of the above is the simplest way to detect the client.
  Reply With Quote

WoWInterface » Classic - AddOns, Compliations, Macros » Classic - AddOn Help/Support » PSA: TBC got its own project id

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off