summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/net/eathena/chathandler.cpp11
-rw-r--r--src/net/eathena/chathandler.h2
-rw-r--r--src/net/eathena/protocol.h2
3 files changed, 15 insertions, 0 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp
index 9b47a7279..ea56d8214 100644
--- a/src/net/eathena/chathandler.cpp
+++ b/src/net/eathena/chathandler.cpp
@@ -86,6 +86,7 @@ ChatHandler::ChatHandler() :
SMSG_CHAT_ADD_MEMBER,
SMSG_CHAT_SETTINGS,
SMSG_CHAT_ROLE_CHANGE,
+ SMSG_MANNER_MESSAGE,
0
};
handledMessages = _messages;
@@ -206,6 +207,10 @@ void ChatHandler::handleMessage(Net::MessageIn &msg)
processChatRoleChange(msg);
break;
+ case SMSG_MANNER_MESSAGE:
+ processMannerMessage(msg);
+ break;
+
default:
break;
}
@@ -876,4 +881,10 @@ void ChatHandler::processMVPNoItem(Net::MessageIn &msg)
{
}
+void ChatHandler::processMannerMessage(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+ msg.readInt32("type");
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/chathandler.h b/src/net/eathena/chathandler.h
index 92b4f73bd..bf2048a40 100644
--- a/src/net/eathena/chathandler.h
+++ b/src/net/eathena/chathandler.h
@@ -145,6 +145,8 @@ class ChatHandler final : public MessageHandler, public Ea::ChatHandler
static void processMVPExp(Net::MessageIn &msg);
static void processMVPNoItem(Net::MessageIn &msg);
+
+ static void processMannerMessage(Net::MessageIn &msg);
};
} // namespace EAthena
diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h
index bb1b55fe9..0e1fc2cd7 100644
--- a/src/net/eathena/protocol.h
+++ b/src/net/eathena/protocol.h
@@ -362,6 +362,8 @@
#define SMSG_ONLINE_LIST 0x0b10
+#define SMSG_MANNER_MESSAGE 0x014a
+
/**********************************
* Packets from client to server *
**********************************/