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