client/UserInterface/Locale.h

36 lines
1.2 KiB
C
Raw Normal View History

#pragma once
#include "Locale_inc.h"
bool LocaleService_IsYMIR();
bool LocaleService_IsJAPAN();
bool LocaleService_IsENGLISH();
bool LocaleService_IsHONGKONG();
bool LocaleService_IsTAIWAN();
bool LocaleService_IsNEWCIBN();
bool LocaleService_IsEUROPE();
bool LocaleService_IsWorldEdition();
unsigned LocaleService_GetCodePage();
const char* LocaleService_GetName();
const char* LocaleService_GetLocaleName();
const char* LocaleService_GetLocalePath();
const char* LocaleService_GetSecurityKey();
BOOL LocaleService_IsLeadByte( const char chByte );
int LocaleService_StringCompareCI( LPCSTR szStringLeft, LPCSTR szStringRight, size_t sizeLength );
void LocaleService_ForceSetLocale(const char* name, const char* localePath);
void LocaleService_LoadConfig(const char* fileName);
bool LocaleService_LoadGlobal(HINSTANCE hInstance);
unsigned LocaleService_GetLastExp(int level);
int LocaleService_GetSkillPower(unsigned level);
// CHEONMA
void LocaleService_SetCHEONMA(bool isEnable);
bool LocaleService_IsCHEONMA();
// END_OF_CHEONMA
#ifdef USE_OPENID
void LocaleService_SetOpenIDAuthKey(const char *authKey);
const char* LocaleService_GetOpenIDAuthKey();
#endif