![]() |
TrinityCore
|
#include "Hyperlinks.h"#include "Common.h"#include "DB2Stores.h"#include "Errors.h"#include "ItemTemplate.h"#include "ObjectMgr.h"#include "QuestDef.h"#include "SharedDefines.h"#include "SpellInfo.h"#include "SpellMgr.h"#include "StringFormat.h"#include "World.h"
Include dependency graph for Hyperlinks.cpp:Go to the source code of this file.
Macros | |
| #define | TryValidateAs(T) do { if (info.tag == T::tag()) return ValidateAs<T>(info); } while (0) |
Functions | |
| static bool | IsCreatureNameValid (uint32 creatureId, std::string_view text) |
| template<typename TAG > | |
| static bool | ValidateAs (HyperlinkInfo const &info) |
| static bool | ValidateLinkInfo (HyperlinkInfo const &info) |
| #define TryValidateAs | ( | T | ) | do { if (info.tag == T::tag()) return ValidateAs<T>(info); } while (0) |
Definition at line 825 of file Hyperlinks.cpp.
|
static |
Definition at line 142 of file Hyperlinks.cpp.
References DEFAULT_LOCALE, CreatureLocale::Name, sObjectMgr, and TOTAL_LOCALES.
Referenced by LinkValidator< LinkTags::battlepet >::IsTextValid(), and LinkValidator< LinkTags::garrfollower >::IsTextValid().
|
static |
Definition at line 805 of file Hyperlinks.cpp.
References Trinity::Hyperlinks::HyperlinkInfo::color, CONFIG_CHAT_STRICT_LINK_CHECKING_SEVERITY, Trinity::Hyperlinks::HyperlinkInfo::data, sWorld, and Trinity::Hyperlinks::HyperlinkInfo::text.
|
static |
Definition at line 827 of file Hyperlinks.cpp.
References TryValidateAs.
Referenced by Trinity::Hyperlinks::CheckAllLinks().