From 78d916e95061fb3bec4ba7791a2f20bcbeaecb3c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 19 Sep 2014 11:05:44 +0300 Subject: eathena: add packet CMSG_CHAT_JOIN 0x00d9. --- src/net/tmwa/chathandler.cpp | 5 +++++ src/net/tmwa/chathandler.h | 3 +++ 2 files changed, 8 insertions(+) (limited to 'src/net/tmwa') diff --git a/src/net/tmwa/chathandler.cpp b/src/net/tmwa/chathandler.cpp index 0d0c08d90..52089d365 100644 --- a/src/net/tmwa/chathandler.cpp +++ b/src/net/tmwa/chathandler.cpp @@ -453,4 +453,9 @@ void ChatHandler::processWhisperResponse(Net::MessageIn &msg) processWhisperResponseContinue(type); } +void ChatHandler::joinChat(const ChatObject *const chat A_UNUSED, + const std::string &password A_UNUSED) const +{ +} + } // namespace TmwAthena diff --git a/src/net/tmwa/chathandler.h b/src/net/tmwa/chathandler.h index cebb0674f..15777c1e3 100644 --- a/src/net/tmwa/chathandler.h +++ b/src/net/tmwa/chathandler.h @@ -72,6 +72,9 @@ class ChatHandler final : public MessageHandler, public Ea::ChatHandler void battleTalk(const std::string &text) const override final; + void joinChat(const ChatObject *const chat, + const std::string &password) const override final; + protected: void processChat(Net::MessageIn &msg); -- cgit v1.2.3-70-g09d2