diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-12 22:08:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-12 22:08:05 +0300 |
commit | 042bbddb13934321dd1d44373eb1084732e81bee (patch) | |
tree | 8bbe1fb3a8c3cc56aec559d53faa278645a5a7ab /src/net/eathena/maphandler.cpp | |
parent | d559a259e27a6011ab1d608a45443c8c9d310c4f (diff) | |
download | mv-042bbddb13934321dd1d44373eb1084732e81bee.tar.gz mv-042bbddb13934321dd1d44373eb1084732e81bee.tar.bz2 mv-042bbddb13934321dd1d44373eb1084732e81bee.tar.xz mv-042bbddb13934321dd1d44373eb1084732e81bee.zip |
eathena: add partial support for packet SMSG_INSTANCE_CREATE 0x02cc.
Diffstat (limited to 'src/net/eathena/maphandler.cpp')
-rw-r--r-- | src/net/eathena/maphandler.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/net/eathena/maphandler.cpp b/src/net/eathena/maphandler.cpp index 6ac2e8392..dfd11c53c 100644 --- a/src/net/eathena/maphandler.cpp +++ b/src/net/eathena/maphandler.cpp @@ -40,6 +40,7 @@ MapHandler::MapHandler() : static const uint16_t _messages[] = { SMSG_INSTANCE_START, + SMSG_INSTANCE_CREATE, 0 }; handledMessages = _messages; @@ -54,6 +55,10 @@ void MapHandler::handleMessage(Net::MessageIn &msg) processInstanceStart(msg); break; + case SMSG_INSTANCE_CREATE: + processInstanceCreate(msg); + break; + default: break; } @@ -61,8 +66,15 @@ void MapHandler::handleMessage(Net::MessageIn &msg) void MapHandler::processInstanceStart(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readString(61, "instance name"); msg.readInt16("flag"); } +void MapHandler::processInstanceCreate(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + msg.readInt16("flag"); +} + } // namespace EAthena |