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:76
#define DEFAULT_LOCALE
Definition: Common.h:79
#define sObjectMgr
Definition: ObjectMgr.h:1623
static std::string_view GetLocaleString(std::vector< std::string > const &data, std::size_t locale)
Definition: ObjectMgr.h:1405
Definition: QuestDef.h:183
std::vector< std::string > Title
Definition: QuestDef.h:186