AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "Common.h"
Go to the source code of this file.
Functions | |
LocaleConstant | GetLocaleByName (const std::string &name) |
const std::string | GetNameByLocaleConstant (LocaleConstant localeConstant) |
void | CleanStringForMysqlQuery (std::string &str) |
Variables | |
char const * | localeNames [TOTAL_LOCALES] |
void CleanStringForMysqlQuery | ( | std::string & | str | ) |
Referenced by WorldSession::HandleMailTakeItem(), WorldSession::HandleSendMail(), and Map::LogEncounterFinished().
LocaleConstant GetLocaleByName | ( | const std::string & | name | ) |
References LOCALE_enUS, localeNames, and TOTAL_LOCALES.
Referenced by AuthSession::HandleLogonProof(), server_commandscript::HandleServerSetMotdCommand(), ObjectMgr::LoadBroadcastTextLocales(), ObjectMgr::LoadCreatureLocales(), CreatureTextMgr::LoadCreatureTextLocales(), ObjectMgr::LoadGameObjectLocales(), ObjectMgr::LoadGossipMenuItemsLocales(), ObjectMgr::LoadItemLocales(), ObjectMgr::LoadItemSetNameLocales(), MotdMgr::LoadLocalizedMotds(), ObjectMgr::LoadModuleStringsLocale(), ObjectMgr::LoadNpcTextLocales(), ObjectMgr::LoadPageTextLocales(), ObjectMgr::LoadPetNamesLocales(), ObjectMgr::LoadPointOfInterestLocales(), ObjectMgr::LoadQuestGreetingsLocales(), ObjectMgr::LoadQuestLocales(), ObjectMgr::LoadQuestOfferRewardLocale(), ObjectMgr::LoadQuestRequestItemsLocale(), AchievementGlobalMgr::LoadRewardLocales(), and AuthSession::LogonChallengeCallback().
const std::string GetNameByLocaleConstant | ( | LocaleConstant | localeConstant | ) |
References localeNames, and TOTAL_LOCALES.
Referenced by server_commandscript::HandleServerSetMotdCommand().
char const* localeNames[TOTAL_LOCALES] |
Referenced by World::DetectDBCLang(), GetLocaleByName(), GetNameByLocaleConstant(), character_commandscript::HandleCharacterReputationCommand(), character_commandscript::HandleCharacterTitlesCommand(), lookup_commandscript::HandleLookupAreaCommand(), lookup_commandscript::HandleLookupFactionCommand(), lookup_commandscript::HandleLookupItemSetCommand(), lookup_commandscript::HandleLookupSkillCommand(), lookup_commandscript::HandleLookupSpellCommand(), lookup_commandscript::HandleLookupSpellIdCommand(), lookup_commandscript::HandleLookupTaxiNodeCommand(), lookup_commandscript::HandleLookupTitleCommand(), server_commandscript::HandleServerDebugCommand(), MotdMgr::IsValidLocale(), and LoadDBC().