summaryrefslogtreecommitdiff
path: root/src/net/eathena/beinghandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-12 18:04:15 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-12 18:04:15 +0300
commit841c5a9c5fdba7c9607a3fcd9a2bf40e20bcca7f (patch)
treeec2c8e6db9352fa4bf7245716d3a319c1fb950fa /src/net/eathena/beinghandler.cpp
parent2c08eba0c8abd2eb3c09b1a916a5f6693c6ae7c0 (diff)
downloadplus-841c5a9c5fdba7c9607a3fcd9a2bf40e20bcca7f.tar.gz
plus-841c5a9c5fdba7c9607a3fcd9a2bf40e20bcca7f.tar.bz2
plus-841c5a9c5fdba7c9607a3fcd9a2bf40e20bcca7f.tar.xz
plus-841c5a9c5fdba7c9607a3fcd9a2bf40e20bcca7f.zip
eathena: add partial support for packet SMSG_BOSS_MAP_INFO 0x0293.
Diffstat (limited to 'src/net/eathena/beinghandler.cpp')
-rw-r--r--src/net/eathena/beinghandler.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp
index 3d17e8cfc..aaac021ab 100644
--- a/src/net/eathena/beinghandler.cpp
+++ b/src/net/eathena/beinghandler.cpp
@@ -131,6 +131,7 @@ BeingHandler::BeingHandler(const bool enableSync) :
SMSG_TAEKWON_RANKS_LIST,
SMSG_PK_RANKS_LIST,
SMSG_GLADIATOR_FEEL_REQUEST,
+ SMSG_BOSS_MAP_INFO,
0
};
handledMessages = _messages;
@@ -383,6 +384,10 @@ void BeingHandler::handleMessage(Net::MessageIn &msg)
processGladiatorFeelRequest(msg);
break;
+ case SMSG_BOSS_MAP_INFO:
+ processBossMapInfo(msg);
+ break;
+
default:
break;
}
@@ -1830,4 +1835,18 @@ void BeingHandler::processGladiatorFeelRequest(Net::MessageIn &msg)
msg.readUInt8("which");
}
+void BeingHandler::processBossMapInfo(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+
+ msg.readUInt8("info type");
+ msg.readInt32("x");
+ msg.readInt32("y");
+ msg.readInt16("min hours");
+ msg.readInt16("min minutes");
+ msg.readInt16("max hours");
+ msg.readInt16("max minutes");
+ msg.readString(24, "monster name"); // really can be used 51 byte?
+}
+
} // namespace EAthena