From 3940228a5d6be203454f521c17f01f666564cd31 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 11 Mar 2015 15:00:25 +0300 Subject: eathena: add partial support for packet SMSG_CLASS_CHANGE 0x01b0. --- src/net/eathena/beinghandler.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/net/eathena/beinghandler.cpp') diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp index 603b7a56d..b7ea9024d 100644 --- a/src/net/eathena/beinghandler.cpp +++ b/src/net/eathena/beinghandler.cpp @@ -118,6 +118,7 @@ BeingHandler::BeingHandler(const bool enableSync) : SMSG_BEING_MOVE3, SMSG_BEING_ATTRS, SMSG_MONSTER_INFO, + SMSG_CLASS_CHANGE, 0 }; handledMessages = _messages; @@ -318,6 +319,10 @@ void BeingHandler::handleMessage(Net::MessageIn &msg) processMonsterInfo(msg); break; + case SMSG_CLASS_CHANGE: + processClassChange(msg); + break; + default: break; } @@ -1651,4 +1656,13 @@ void BeingHandler::processMonsterInfo(Net::MessageIn &msg) msg.readInt16("ele"); } +void BeingHandler::processClassChange(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + + msg.readInt32("being id"); + msg.readUInt8("type"); + msg.readInt32("class"); +} + } // namespace EAthena -- cgit v1.2.3-70-g09d2