184 {
185 if (text.empty())
186 return false;
187
188 if (text == data.Quest->GetTitle())
189 return true;
190
192 if (!locale)
193 return false;
194
196 {
198 continue;
199
201 if (!name.empty() && (text == name))
202 return true;
203 }
204
205 return false;
206 }
@ TOTAL_LOCALES
Definition: Common.h:85
#define DEFAULT_LOCALE
Definition: Common.h:88
#define sObjectMgr
Definition: ObjectMgr.h:1640
static std::string_view GetLocaleString(std::vector< std::string > const &data, size_t locale)
Definition: ObjectMgr.h:1416
Definition: QuestDef.h:180
std::vector< std::string > Title
Definition: QuestDef.h:183