summaryrefslogtreecommitdiff
path: root/src/net/eathena/maphandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-12 23:02:28 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-12 23:02:28 +0300
commit8f3d15a15e53ddda5930e0a10e17e19d85141ccb (patch)
tree83d7e7890c2389ca42147f52df81212b05569aa5 /src/net/eathena/maphandler.cpp
parentd6c67b73a497d16ac26badd49d6ef3e3a89823db (diff)
downloadmanaplus-8f3d15a15e53ddda5930e0a10e17e19d85141ccb.tar.gz
manaplus-8f3d15a15e53ddda5930e0a10e17e19d85141ccb.tar.bz2
manaplus-8f3d15a15e53ddda5930e0a10e17e19d85141ccb.tar.xz
manaplus-8f3d15a15e53ddda5930e0a10e17e19d85141ccb.zip
eathena: add partial support for packet SMSG_INSTANCE_DELETE 0x02ce.
Diffstat (limited to 'src/net/eathena/maphandler.cpp')
-rw-r--r--src/net/eathena/maphandler.cpp12
1 files changed, 12 insertions, 0 deletions
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