1
0
forked from metin2/server
server/game/src/locale_service.h
2022-03-05 12:44:06 +02:00

75 lines
1.3 KiB
C++

#ifndef __LOCALE_SERVCICE__
#define __LOCALE_SERVCICE__
bool LocaleService_Init(const std::string& c_rstServiceName);
void LocaleService_LoadLocaleStringFile();
void LocaleService_LoadEmpireTextConvertTables();
void LocaleService_TransferDefaultSetting();
const std::string& LocaleService_GetBasePath();
const std::string& LocaleService_GetMapPath();
const std::string& LocaleService_GetQuestPath();
enum eLocalization
{
LC_NOSET = 0,
LC_YMIR,
LC_JAPAN,
LC_ENGLISH,
LC_HONGKONG,
LC_NEWCIBN,
LC_GERMANY,
LC_KOREA,
LC_FRANCE,
LC_ITALY,
LC_SPAIN,
LC_UK,
LC_TURKEY,
LC_POLAND,
LC_PORTUGAL,
LC_CANADA,
LC_BRAZIL,
LC_GREEK,
LC_RUSSIA,
LC_DENMARK,
LC_BULGARIA,
LC_CROATIA,
LC_MEXICO,
LC_ARABIA,
LC_CZECH,
LC_ROMANIA,
LC_HUNGARY,
LC_NETHERLANDS,
LC_SINGAPORE,
LC_VIETNAM,
LC_THAILAND,
LC_USA,
LC_WE_KOREA, ///< World Edition version for korea
LC_TAIWAN,
LC_MAX_VALUE
};
eLocalization LC_GetLocalType();
bool LC_IsLocale( const eLocalization t );
bool LC_IsYMIR();
bool LC_IsJapan();
bool LC_IsEnglish();
bool LC_IsHongKong();
bool LC_IsNewCIBN();
bool LC_IsGermany();
bool LC_IsKorea();
bool LC_IsEurope();
bool LC_IsCanada();
bool LC_IsBrazil();
bool LC_IsSingapore();
bool LC_IsVietnam();
bool LC_IsThailand();
bool LC_IsWE_Korea();
bool LC_IsTaiwan();
bool LC_IsWorldEdition();
#endif