From 841c5a9c5fdba7c9607a3fcd9a2bf40e20bcca7f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 12 Mar 2015 18:04:15 +0300 Subject: eathena: add partial support for packet SMSG_BOSS_MAP_INFO 0x0293. --- src/net/eathena/beinghandler.cpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'src/net/eathena/beinghandler.cpp') 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 -- cgit v1.2.3-70-g09d2