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
321 {
322 return c == CHAT_LINK_COLOR_TRADE;
323 }
@ 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
316 {
317 return LinkValidator<LinkTags::spell>::IsTextValid(data.Spell, text);
318 }
static bool IsTextValid(typename T::value_type, std::string_view)
Definition: Hyperlinks.cpp:107

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