AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
Acore::Hyperlinks::HyperlinkInfo Struct Reference

#include "Hyperlinks.h"

Public Member Functions

 HyperlinkInfo ()
 
 HyperlinkInfo (std::string_view t, uint32 c, std::string_view ta, std::string_view d, std::string_view te)
 
 operator bool ()
 

Public Attributes

bool const ok
 
std::string_view const tail
 
HyperlinkColor const color
 
std::string_view const tag
 
std::string_view const data
 
std::string_view const text
 

Detailed Description

Constructor & Destructor Documentation

◆ HyperlinkInfo() [1/2]

Acore::Hyperlinks::HyperlinkInfo::HyperlinkInfo ( )
inline
238: ok(false), color(0) {}
HyperlinkColor const color
Definition: Hyperlinks.h:245
bool const ok
Definition: Hyperlinks.h:243

◆ HyperlinkInfo() [2/2]

Acore::Hyperlinks::HyperlinkInfo::HyperlinkInfo ( std::string_view  t,
uint32  c,
std::string_view  ta,
std::string_view  d,
std::string_view  te 
)
inline
239 :
240 ok(true), tail(t), color(c), tag(ta), data(d), text(te) {}
std::string_view const tail
Definition: Hyperlinks.h:244
std::string_view const tag
Definition: Hyperlinks.h:246
std::string_view const text
Definition: Hyperlinks.h:248
std::string_view const data
Definition: Hyperlinks.h:247

Member Function Documentation

◆ operator bool()

Acore::Hyperlinks::HyperlinkInfo::operator bool ( )
inlineexplicit
242{ return ok; }

References ok.

Member Data Documentation

◆ color

HyperlinkColor const Acore::Hyperlinks::HyperlinkInfo::color

Referenced by ValidateAs().

◆ data

std::string_view const Acore::Hyperlinks::HyperlinkInfo::data

◆ ok

bool const Acore::Hyperlinks::HyperlinkInfo::ok

Referenced by operator bool().

◆ tag

std::string_view const Acore::Hyperlinks::HyperlinkInfo::tag

◆ tail

std::string_view const Acore::Hyperlinks::HyperlinkInfo::tail

◆ text

std::string_view const Acore::Hyperlinks::HyperlinkInfo::text

Referenced by ValidateAs().