Mana
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
TmwAthena::ChatHandler Class Referencefinal

#include <chathandler.h>

Inheritance diagram for TmwAthena::ChatHandler:
TmwAthena::MessageHandler Net::ChatHandler Net::MessageHandler

Public Member Functions

 ChatHandler ()
 
void handleMessage (MessageIn &msg) override
 
void talk (const std::string &text) override
 
void me (const std::string &text) override
 
void privateMessage (const std::string &recipient, const std::string &text) override
 
void channelList () override
 
void enterChannel (const std::string &channel, const std::string &password) override
 
void quitChannel (int channelId) override
 
void sendToChannel (int channelId, const std::string &text) override
 
void userList (const std::string &channel) override
 
void setChannelTopic (int channelId, const std::string &text) override
 
void setUserMode (int channelId, const std::string &name, int mode) override
 
void kickUser (int channelId, const std::string &name) override
 
void who () override
 
bool whoSupported () const override
 
void requestOnlineList () override
 
- Public Member Functions inherited from TmwAthena::MessageHandler
 MessageHandler ()
 
 ~MessageHandler () override
 
void setNetwork (Network *network)
 
- Public Member Functions inherited from Net::ChatHandler
virtual ~ChatHandler ()=default
 

Private Attributes

std::queue< std::string > mSentWhispers
 

Additional Inherited Members

- Public Attributes inherited from Net::MessageHandler
const uint16_t * handledMessages = _no_messages
 
- Protected Attributes inherited from TmwAthena::MessageHandler
NetworkmNetwork
 

Detailed Description

Definition at line 33 of file chathandler.h.

Constructor & Destructor Documentation

◆ ChatHandler()

TmwAthena::ChatHandler::ChatHandler ( )

Definition at line 47 of file chathandler.cpp.

Member Function Documentation

◆ channelList()

void TmwAthena::ChatHandler::channelList ( )
overridevirtual

Implements Net::ChatHandler.

Definition at line 326 of file chathandler.cpp.

◆ enterChannel()

void TmwAthena::ChatHandler::enterChannel ( const std::string &  channel,
const std::string &  password 
)
overridevirtual

Implements Net::ChatHandler.

Definition at line 331 of file chathandler.cpp.

◆ handleMessage()

void TmwAthena::ChatHandler::handleMessage ( MessageIn msg)
overridevirtual

Implements TmwAthena::MessageHandler.

Definition at line 63 of file chathandler.cpp.

◆ kickUser()

void TmwAthena::ChatHandler::kickUser ( int  channelId,
const std::string &  name 
)
overridevirtual

Implements Net::ChatHandler.

Definition at line 362 of file chathandler.cpp.

◆ me()

void TmwAthena::ChatHandler::me ( const std::string &  text)
overridevirtual

Implements Net::ChatHandler.

Definition at line 308 of file chathandler.cpp.

◆ privateMessage()

void TmwAthena::ChatHandler::privateMessage ( const std::string &  recipient,
const std::string &  text 
)
overridevirtual

Implements Net::ChatHandler.

Definition at line 315 of file chathandler.cpp.

◆ quitChannel()

void TmwAthena::ChatHandler::quitChannel ( int  channelId)
overridevirtual

Implements Net::ChatHandler.

Definition at line 337 of file chathandler.cpp.

◆ requestOnlineList()

void TmwAthena::ChatHandler::requestOnlineList ( )
overridevirtual

Implements Net::ChatHandler.

Definition at line 367 of file chathandler.cpp.

◆ sendToChannel()

void TmwAthena::ChatHandler::sendToChannel ( int  channelId,
const std::string &  text 
)
overridevirtual

Implements Net::ChatHandler.

Definition at line 342 of file chathandler.cpp.

◆ setChannelTopic()

void TmwAthena::ChatHandler::setChannelTopic ( int  channelId,
const std::string &  text 
)
overridevirtual

Implements Net::ChatHandler.

Definition at line 352 of file chathandler.cpp.

◆ setUserMode()

void TmwAthena::ChatHandler::setUserMode ( int  channelId,
const std::string &  name,
int  mode 
)
overridevirtual

Implements Net::ChatHandler.

Definition at line 357 of file chathandler.cpp.

◆ talk()

void TmwAthena::ChatHandler::talk ( const std::string &  text)
overridevirtual

Implements Net::ChatHandler.

Definition at line 298 of file chathandler.cpp.

◆ userList()

void TmwAthena::ChatHandler::userList ( const std::string &  channel)
overridevirtual

Implements Net::ChatHandler.

Definition at line 347 of file chathandler.cpp.

◆ who()

void TmwAthena::ChatHandler::who ( )
inlineoverridevirtual

Implements Net::ChatHandler.

Definition at line 64 of file chathandler.h.

◆ whoSupported()

bool TmwAthena::ChatHandler::whoSupported ( ) const
inlineoverridevirtual

Implements Net::ChatHandler.

Definition at line 66 of file chathandler.h.

Member Data Documentation

◆ mSentWhispers

std::queue<std::string> TmwAthena::ChatHandler::mSentWhispers
private

Definition at line 71 of file chathandler.h.


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