Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
ChatLink Class Referenceabstract

#include <ChatLink.h>

Inheritance diagram for ChatLink:

Public Member Functions

 ChatLink ()
virtual bool Initialize (std::istringstream &iss)=0
void SetBounds (std::istringstream::pos_type startPos, std::istringstream::pos_type endPos)
void SetColor (uint32 color)
virtual bool ValidateName (char *buffer, const char *context)=0
virtual ~ChatLink ()

Protected Attributes

uint32 _color
std::istringstream::pos_type _endPos
std::string _name
std::istringstream::pos_type _startPos

Detailed Description

Definition at line 24 of file ChatLink.h.

Constructor & Destructor Documentation

◆ ChatLink()

◆ ~ChatLink()

virtual ChatLink::~ChatLink ( )
inlinevirtual

Definition at line 28 of file ChatLink.h.

Member Function Documentation

◆ Initialize()

virtual bool ChatLink::Initialize ( std::istringstream & iss)
pure virtual

◆ SetBounds()

void ChatLink::SetBounds ( std::istringstream::pos_type startPos,
std::istringstream::pos_type endPos )
inline

Definition at line 31 of file ChatLink.h.

References _endPos, and _startPos.

Referenced by LinkExtractor::IsValidMessage().

◆ SetColor()

void ChatLink::SetColor ( uint32 color)
inline

Definition at line 29 of file ChatLink.h.

References _color.

Referenced by LinkExtractor::IsValidMessage().

◆ ValidateName()

bool ChatLink::ValidateName ( char * buffer,
const char * context )
pure virtual

Member Data Documentation

◆ _color

◆ _endPos

std::istringstream::pos_type ChatLink::_endPos
protected

Definition at line 40 of file ChatLink.h.

Referenced by ChatLink(), and SetBounds().

◆ _name

std::string ChatLink::_name
protected

Definition at line 38 of file ChatLink.h.

Referenced by ValidateName().

◆ _startPos

std::istringstream::pos_type ChatLink::_startPos
protected

Definition at line 39 of file ChatLink.h.

Referenced by ChatLink(), and SetBounds().


The documentation for this class was generated from the following files: