AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
LinkValidator< LinkTags::trade > Struct Reference

Static Public Member Functions

static bool IsTextValid (TradeskillLinkData const &data, std::string_view text)
 
static bool IsColorValid (TradeskillLinkData const &, HyperlinkColor c)
 

Detailed Description

Member Function Documentation

◆ IsColorValid()

static bool LinkValidator< LinkTags::trade >::IsColorValid ( TradeskillLinkData const &  ,
HyperlinkColor  c 
)
inlinestatic
320 {
321 return c == CHAT_LINK_COLOR_TRADE;
322 }
@ CHAT_LINK_COLOR_TRADE
Definition: SharedDefines.h:3210

References CHAT_LINK_COLOR_TRADE.

◆ IsTextValid()

static bool LinkValidator< LinkTags::trade >::IsTextValid ( TradeskillLinkData const &  data,
std::string_view  text 
)
inlinestatic
315 {
316 return LinkValidator<LinkTags::spell>::IsTextValid(data.Spell, text);
317 }
static bool IsTextValid(typename T::value_type, std::string_view)
Definition: Hyperlinks.cpp:106

References LinkValidator< T >::IsTextValid(), and Acore::Hyperlinks::TradeskillLinkData::Spell.