TrinityCore
Common.cpp File Reference
#include "Common.h"
+ Include dependency graph for Common.cpp:

Go to the source code of this file.

Functions

LocaleConstant GetLocaleByName (std::string_view name)
 

Variables

char const * localeNames [TOTAL_LOCALES]
 
CascLocaleBit WowLocaleToCascLocaleBit [TOTAL_LOCALES]
 

Function Documentation

◆ GetLocaleByName()

LocaleConstant GetLocaleByName ( std::string_view  name)

Definition at line 36 of file Common.cpp.

+ Here is the caller graph for this function:

Variable Documentation

◆ localeNames

char const* localeNames[TOTAL_LOCALES]
Initial value:
=
{
"enUS",
"koKR",
"frFR",
"deDE",
"zhCN",
"zhTW",
"esES",
"esMX",
"ruRU",
"none",
"ptBR",
"itIT"
}

Definition at line 20 of file Common.cpp.

◆ WowLocaleToCascLocaleBit