AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
WorldPackets::Strings::NoHyperlinks Struct Reference

#include "PacketUtilities.h"

Static Public Member Functions

static bool Validate (std::string const &value)
 

Detailed Description

Member Function Documentation

◆ Validate()

bool WorldPackets::Strings::NoHyperlinks::Validate ( std::string const &  value)
static
53{
54 if (value.find('|') != std::string::npos)
55 throw IllegalHyperlinkException(value);
56
57 return true;
58}