From 8f3d15a15e53ddda5930e0a10e17e19d85141ccb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 12 Mar 2015 23:02:28 +0300 Subject: eathena: add partial support for packet SMSG_INSTANCE_DELETE 0x02ce. --- src/net/eathena/maphandler.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/net/eathena/maphandler.cpp') diff --git a/src/net/eathena/maphandler.cpp b/src/net/eathena/maphandler.cpp index 3e65855f3..e265db717 100644 --- a/src/net/eathena/maphandler.cpp +++ b/src/net/eathena/maphandler.cpp @@ -42,6 +42,7 @@ MapHandler::MapHandler() : SMSG_INSTANCE_START, SMSG_INSTANCE_CREATE, SMSG_INSTANCE_INFO, + SMSG_INSTANCE_DELETE, 0 }; handledMessages = _messages; @@ -64,6 +65,10 @@ void MapHandler::handleMessage(Net::MessageIn &msg) processInstanceInfo(msg); break; + case SMSG_INSTANCE_DELETE: + processInstanceDelete(msg); + break; + default: break; } @@ -90,4 +95,11 @@ void MapHandler::processInstanceInfo(Net::MessageIn &msg) msg.readInt32("no players close time"); } +void MapHandler::processInstanceDelete(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + msg.readInt32("flag"); + msg.readInt32("unused"); +} + } // namespace EAthena -- cgit v1.2.3-60-g2f50