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) |
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(), ObjectMgr::LoadBroadcastTextLocales(), ObjectMgr::LoadCreatureLocales(), CreatureTextMgr::LoadCreatureTextLocales(), ObjectMgr::LoadGameObjectLocales(), ObjectMgr::LoadGossipMenuItemsLocales(), ObjectMgr::LoadItemLocales(), ObjectMgr::LoadItemSetNameLocales(), ObjectMgr::LoadModuleStringsLocale(), ObjectMgr::LoadNpcTextLocales(), ObjectMgr::LoadPageTextLocales(), ObjectMgr::LoadPetNamesLocales(), ObjectMgr::LoadPointOfInterestLocales(), ObjectMgr::LoadQuestGreetingsLocales(), ObjectMgr::LoadQuestLocales(), ObjectMgr::LoadQuestOfferRewardLocale(), ObjectMgr::LoadQuestRequestItemsLocale(), AchievementGlobalMgr::LoadRewardLocales(), and AuthSession::LogonChallengeCallback().
char const* localeNames[TOTAL_LOCALES] |
Referenced by World::DetectDBCLang(), GetLocaleByName(), 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(), and LoadDBC().