summaryrefslogtreecommitdiff
path: root/src/net/eathena/chathandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-10 23:51:32 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-10 23:51:32 +0300
commitab0224bbddaa1aef3303f9955356e0b4be40f5b0 (patch)
treef2657bdce0388fbe4d345b1ed91de56aecd635e4 /src/net/eathena/chathandler.cpp
parent3c5824865fdd3601f0491ab8f90b47c49230695b (diff)
downloadmv-ab0224bbddaa1aef3303f9955356e0b4be40f5b0.tar.gz
mv-ab0224bbddaa1aef3303f9955356e0b4be40f5b0.tar.bz2
mv-ab0224bbddaa1aef3303f9955356e0b4be40f5b0.tar.xz
mv-ab0224bbddaa1aef3303f9955356e0b4be40f5b0.zip
eathena: add partial support for packet SMSG_CHAT_SILENCE 0x014b.
Diffstat (limited to 'src/net/eathena/chathandler.cpp')
-rw-r--r--src/net/eathena/chathandler.cpp13
1 files changed, 13 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