InspIRCd  3.0
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
MessageDetails Class Referenceabstract

Public Member Functions

virtual bool IsCTCP (std::string &name, std::string &body) const =0
 
virtual bool IsCTCP (std::string &name) const =0
 
virtual bool IsCTCP () const =0
 

Public Attributes

bool echo
 
bool echo_original
 
CUList exemptions
 
const std::string original_text
 
const ClientProtocol::TagMap tags_in
 
ClientProtocol::TagMap tags_out
 
std::string text
 
const MessageType type
 

Protected Member Functions

 MessageDetails (MessageType mt, const std::string &msg, const ClientProtocol::TagMap &tags)
 

Member Function Documentation

◆ IsCTCP() [1/3]

virtual bool MessageDetails::IsCTCP ( std::string &  name,
std::string &  body 
) const
pure virtual

Determines whether the specified message is a CTCP. If the specified message is a CTCP then the CTCP name and CTCP body are extracted and stored in the name and body references.

Parameters
nameThe location to store the parsed CTCP name.
bodyThe location to store the parsed CTCP body.

◆ IsCTCP() [2/3]

virtual bool MessageDetails::IsCTCP ( std::string &  name) const
pure virtual

Determines whether the specified message is a CTCP. If the specified message is a CTCP then the CTCP name is extracted and stored in the name reference.

Parameters
nameThe location to store the parsed CTCP name.

◆ IsCTCP() [3/3]

virtual bool MessageDetails::IsCTCP ( ) const
pure virtual

Determines whether the specified message is a CTCP.

Member Data Documentation

◆ echo

bool MessageDetails::echo

Whether to echo the message at all.

◆ exemptions

CUList MessageDetails::exemptions

The users who are exempted from receiving this message.

◆ tags_in

const ClientProtocol::TagMap MessageDetails::tags_in

IRCv3 message tags sent to the server by the user.

◆ tags_out

ClientProtocol::TagMap MessageDetails::tags_out

IRCv3 message tags sent out to users who get this message.

◆ text

std::string MessageDetails::text

The message which will be sent to clients.

◆ type

const MessageType MessageDetails::type

The type of message.


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