542 std::string namePart = args;
543 std::wstring wNamePart;
556 for (ObjectMgr::QuestMap::const_iterator iter = qTemplates.begin(); iter != qTemplates.end(); ++iter)
558 Quest* qInfo = iter->second;
561 if (localeIndex >= 0)
566 if (questLocale->LogTitle.size() > ulocaleIndex && !questLocale->LogTitle[ulocaleIndex].empty())
568 std::string title = questLocale->LogTitle[ulocaleIndex];
572 if (maxResults && count++ == maxResults)
578 char const* statusStr =
"";
620 if (maxResults && count++ == maxResults)
626 char const* statusStr =
"";
virtual int GetSessionDbLocaleIndex() const
Definition: Chat.cpp:1067
Definition: QuestDef.h:111
Definition: QuestDef.h:279
Definition: Language.h:526
Definition: Language.h:448
Definition: Language.h:479
Definition: QuestDef.h:239
QuestStatus
Definition: QuestDef.h:108
Player * getSelectedPlayerOrSelf()
Definition: Chat.cpp:623
#define sWorld
Definition: World.h:887
bool Utf8toWStr(char const *utf8str, size_t csize, wchar_t *wstr, size_t &wsize)
Definition: Util.cpp:281
#define sObjectMgr
Definition: ObjectMgr.h:1567
void wstrToLower(std::wstring &str)
Definition: Util.h:306
Definition: QuestDef.h:116
Definition: Language.h:911
uint32 GetQuestId() const
Definition: QuestDef.h:304
std::unordered_map< uint32, Quest * > QuestMap
Definition: ObjectMgr.h:721
bool Utf8FitTo(const std::string &str, std::wstring const &search)
Definition: Util.cpp:453
Definition: Language.h:477
Definition: Language.h:1095
uint32_t uint32
Definition: Define.h:150
Definition: Language.h:478
uint8_t uint8
Definition: g3dmath.h:164
virtual char const * GetTrinityString(uint32 entry) const
Definition: Chat.cpp:67
WorldSession * GetSession()
Definition: Chat.h:59
Definition: QuestDef.h:113
uint8_t uint8
Definition: Define.h:152
void PSendSysMessage(const char *fmt, Args &&...args)
Definition: Chat.h:72
std::string const & GetLogTitle() const
Definition: QuestDef.h:334
int32 GetQuestLevel() const
Definition: QuestDef.h:310
virtual void SendSysMessage(char const *str, bool escapeCharacters=false)
Definition: Chat.cpp:152