diff options
Diffstat (limited to 'src/net/eathena/maphandler.cpp')
-rw-r--r-- | src/net/eathena/maphandler.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/net/eathena/maphandler.cpp b/src/net/eathena/maphandler.cpp index dfd11c53c..3e65855f3 100644 --- a/src/net/eathena/maphandler.cpp +++ b/src/net/eathena/maphandler.cpp @@ -41,6 +41,7 @@ MapHandler::MapHandler() : { SMSG_INSTANCE_START, SMSG_INSTANCE_CREATE, + SMSG_INSTANCE_INFO, 0 }; handledMessages = _messages; @@ -59,6 +60,10 @@ void MapHandler::handleMessage(Net::MessageIn &msg) processInstanceCreate(msg); break; + case SMSG_INSTANCE_INFO: + processInstanceInfo(msg); + break; + default: break; } @@ -77,4 +82,12 @@ void MapHandler::processInstanceCreate(Net::MessageIn &msg) msg.readInt16("flag"); } +void MapHandler::processInstanceInfo(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + msg.readString(61, "instance name"); + msg.readInt32("remaining time"); + msg.readInt32("no players close time"); +} + } // namespace EAthena |