183 {
184 if (text.empty())
185 return false;
186
187 if (text == data.Quest->GetTitle())
188 return true;
189
191 if (!locale)
192 return false;
193
195 {
197 continue;
198
200 if (!name.empty() && (text == name))
201 return true;
202 }
203
204 return false;
205 }
@ TOTAL_LOCALES
Definition: Common.h:78
#define DEFAULT_LOCALE
Definition: Common.h:81
#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