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
236: ok(false), color(0) {}
HyperlinkColor const color
Definition: Hyperlinks.h:243
bool const ok
Definition: Hyperlinks.h:241

◆ 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
237 :
238 ok(true), tail(t), color(c), tag(ta), data(d), text(te) {}
std::string_view const tail
Definition: Hyperlinks.h:242
std::string_view const tag
Definition: Hyperlinks.h:244
std::string_view const text
Definition: Hyperlinks.h:246
std::string_view const data
Definition: Hyperlinks.h:245

Member Function Documentation

◆ operator bool()

Acore::Hyperlinks::HyperlinkInfo::operator bool ( )
inlineexplicit
240{ 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().