From 0fe0f8bae7b754453e6e6bb7c7b29903facb9311 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 27 Mar 2013 21:45:16 +0300 Subject: improve chathandler class. --- src/net/eathena/chathandler.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'src/net/eathena/chathandler.h') diff --git a/src/net/eathena/chathandler.h b/src/net/eathena/chathandler.h index 928b7aeb0..737b3269c 100644 --- a/src/net/eathena/chathandler.h +++ b/src/net/eathena/chathandler.h @@ -42,22 +42,23 @@ class ChatHandler final : public MessageHandler, public Ea::ChatHandler void handleMessage(Net::MessageIn &msg); - void talk(const std::string &text, const std::string &channel); + void talk(const std::string &text, + const std::string &channel) const; - void talkRaw(const std::string &text); + void talkRaw(const std::string &text) const; void privateMessage(const std::string &recipient, const std::string &text); - void who(); + void who() const; - void sendRaw(const std::string &args); + void sendRaw(const std::string &args) const; - void ignoreAll(); + void ignoreAll() const; - void unIgnoreAll(); + void unIgnoreAll() const; - void processRaw(MessageOut &outMsg, const std::string &line); + static void processRaw(MessageOut &outMsg, const std::string &line); }; } // namespace EAthena -- cgit v1.2.3-70-g09d2