TrinityCore
Loading...
Searching...
No Matches
Hyperlinks.cpp File Reference
#include "Hyperlinks.h"
#include "advstd.h"
#include "Common.h"
#include "DBCStores.h"
#include "Errors.h"
#include "ObjectMgr.h"
#include "SharedDefines.h"
#include "SpellInfo.h"
#include "SpellMgr.h"
#include "QuestDef.h"
#include "World.h"
+ Include dependency graph for Hyperlinks.cpp:

Go to the source code of this file.

Classes

struct  LinkValidator< T >
 
struct  LinkValidator< LinkTags::achievement >
 
struct  LinkValidator< LinkTags::item >
 
struct  LinkValidator< LinkTags::quest >
 
struct  LinkValidator< LinkTags::spell >
 
struct  LinkValidator< LinkTags::enchant >
 
struct  LinkValidator< LinkTags::glyph >
 
struct  LinkValidator< LinkTags::talent >
 
struct  LinkValidator< LinkTags::trade >
 

Macros

#define TryValidateAs(T)   do { if (info.tag == T::tag()) return ValidateAs<T>(info); } while (0);
 

Functions

uint8 toHex (char c)
 
template<typename TAG >
static bool ValidateAs (HyperlinkInfo const &info)
 
static bool ValidateLinkInfo (HyperlinkInfo const &info)
 

Macro Definition Documentation

◆ TryValidateAs

#define TryValidateAs (   T)    do { if (info.tag == T::tag()) return ValidateAs<T>(info); } while (0);

Definition at line 337 of file Hyperlinks.cpp.

Function Documentation

◆ toHex()

uint8 toHex ( char  c)
inline

Definition at line 32 of file Hyperlinks.cpp.

+ Here is the caller graph for this function:

◆ ValidateAs()

template<typename TAG >
static bool ValidateAs ( HyperlinkInfo const &  info)
static

Definition at line 317 of file Hyperlinks.cpp.

◆ ValidateLinkInfo()

static bool ValidateLinkInfo ( HyperlinkInfo const &  info)
static

Definition at line 339 of file Hyperlinks.cpp.

+ Here is the caller graph for this function: