summaryrefslogtreecommitdiff
path: root/src/net/eathena/maphandler.cpp
diff options
context:
space:
mode:
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 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