summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/chathandler.cpp13
-rw-r--r--src/net/eathena/chathandler.h2
-rw-r--r--src/net/eathena/protocol.h1
3 files changed, 16 insertions, 0 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp
index ea56d8214..36a8035c5 100644
--- a/src/net/eathena/chathandler.cpp
+++ b/src/net/eathena/chathandler.cpp
@@ -87,6 +87,7 @@ ChatHandler::ChatHandler() :
SMSG_CHAT_SETTINGS,
SMSG_CHAT_ROLE_CHANGE,
SMSG_MANNER_MESSAGE,
+ SMSG_CHAT_SILENCE,
0
};
handledMessages = _messages;
@@ -211,6 +212,10 @@ void ChatHandler::handleMessage(Net::MessageIn &msg)
processMannerMessage(msg);
break;
+ case SMSG_CHAT_SILENCE:
+ processChatSilence(msg);
+ break;
+
default:
break;
}
@@ -879,6 +884,7 @@ void ChatHandler::processMVPExp(Net::MessageIn &msg)
void ChatHandler::processMVPNoItem(Net::MessageIn &msg)
{
+ UNIMPLIMENTEDPACKET;
}
void ChatHandler::processMannerMessage(Net::MessageIn &msg)
@@ -887,4 +893,11 @@ void ChatHandler::processMannerMessage(Net::MessageIn &msg)
msg.readInt32("type");
}
+void ChatHandler::processChatSilence(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+ msg.readUInt8("type");
+ msg.readString(24, "gm name");
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/chathandler.h b/src/net/eathena/chathandler.h
index bf2048a40..00a901ac7 100644
--- a/src/net/eathena/chathandler.h
+++ b/src/net/eathena/chathandler.h
@@ -147,6 +147,8 @@ class ChatHandler final : public MessageHandler, public Ea::ChatHandler
static void processMVPNoItem(Net::MessageIn &msg);
static void processMannerMessage(Net::MessageIn &msg);
+
+ static void processChatSilence(Net::MessageIn &msg);
};
} // namespace EAthena
diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h
index 0e1fc2cd7..5994e8e11 100644
--- a/src/net/eathena/protocol.h
+++ b/src/net/eathena/protocol.h
@@ -363,6 +363,7 @@
#define SMSG_ONLINE_LIST 0x0b10
#define SMSG_MANNER_MESSAGE 0x014a
+#define SMSG_CHAT_SILENCE 0x014b
/**********************************
* Packets from client to server *