summaryrefslogtreecommitdiff
path: root/src/net/eathena/maphandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-12 22:14:49 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-12 22:14:49 +0300
commitd6c67b73a497d16ac26badd49d6ef3e3a89823db (patch)
tree911a1fa6c998224be87ea2faaff20cd09f229c87 /src/net/eathena/maphandler.cpp
parent042bbddb13934321dd1d44373eb1084732e81bee (diff)
downloadManaVerse-d6c67b73a497d16ac26badd49d6ef3e3a89823db.tar.gz
ManaVerse-d6c67b73a497d16ac26badd49d6ef3e3a89823db.tar.bz2
ManaVerse-d6c67b73a497d16ac26badd49d6ef3e3a89823db.tar.xz
ManaVerse-d6c67b73a497d16ac26badd49d6ef3e3a89823db.zip
eathena: add partial support for packet SMSG_INSTANCE_INFO 0x02cd.
Diffstat (limited to 'src/net/eathena/maphandler.cpp')
-rw-r--r--src/net/eathena/maphandler.cpp13
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