18#ifndef TRINITYCORE_COMMON_H
19#define TRINITYCORE_COMMON_H
25#define STRINGIZE(a) #a
66#define DEFAULT_LOCALE LOCALE_enUS
109 std::array<char const*, TOTAL_LOCALES>
Str;
115#define M_PI 3.14159265358979323846
119#define M_PI_4 0.785398163397448309616
122#define MAX_QUERY_LEN 32*1024
constexpr bool IsValidLocale(LocaleConstant locale)
TC_COMMON_API char const * localeNames[TOTAL_LOCALES]
const uint8 OLD_TOTAL_LOCALES
TC_COMMON_API LocaleConstant GetLocaleByName(std::string_view name)
TC_COMMON_API CascLocaleBit WowLocaleToCascLocaleBit[TOTAL_LOCALES]
std::array< char const *, TOTAL_LOCALES > Str
constexpr char const * operator[](LocaleConstant locale) const