diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-27 21:45:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-27 21:45:16 +0300 |
commit | 0fe0f8bae7b754453e6e6bb7c7b29903facb9311 (patch) | |
tree | d92c810fbc93fe8bb2f362a7ef023ebe96653c2d /src/net/tmwa/chathandler.h | |
parent | 8150191686759b13a239c25970924c3c186140ff (diff) | |
download | mv-0fe0f8bae7b754453e6e6bb7c7b29903facb9311.tar.gz mv-0fe0f8bae7b754453e6e6bb7c7b29903facb9311.tar.bz2 mv-0fe0f8bae7b754453e6e6bb7c7b29903facb9311.tar.xz mv-0fe0f8bae7b754453e6e6bb7c7b29903facb9311.zip |
improve chathandler class.
Diffstat (limited to 'src/net/tmwa/chathandler.h')
-rw-r--r-- | src/net/tmwa/chathandler.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/net/tmwa/chathandler.h b/src/net/tmwa/chathandler.h index 733010b37..d11b6ba32 100644 --- a/src/net/tmwa/chathandler.h +++ b/src/net/tmwa/chathandler.h @@ -42,22 +42,22 @@ 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 TmwAthena |