From 17aea3a2f39b62202548d54c70eeb127e93f14c5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 8 Oct 2014 00:32:26 +0300 Subject: eathena: add partial support for packet SMSG_BEING_SPECIAL_EFFECT_NUM 0x0284. --- 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 19200832a..4972f7568 100644 --- a/src/net/eathena/beinghandler.cpp +++ b/src/net/eathena/beinghandler.cpp @@ -75,6 +75,7 @@ BeingHandler::BeingHandler(const bool enableSync) : SMSG_BEING_ACTION2, SMSG_BEING_SELFEFFECT, SMSG_BEING_SPECIAL_EFFECT, + SMSG_BEING_SPECIAL_EFFECT_NUM, SMSG_BEING_SOUND_EFFECT, SMSG_BEING_EMOTION, SMSG_BEING_CHANGE_LOOKS, @@ -180,6 +181,10 @@ void BeingHandler::handleMessage(Net::MessageIn &msg) processBeingSpecialEffect(msg); break; + case SMSG_BEING_SPECIAL_EFFECT_NUM: + processBeingSpecialEffectNum(msg); + break; + case SMSG_BEING_SOUND_EFFECT: processBeingSoundEffect(msg); break; @@ -1716,6 +1721,15 @@ void BeingHandler::processBeingSpecialEffect(Net::MessageIn &msg) const msg.readInt32("effect type"); } +void BeingHandler::processBeingSpecialEffectNum(Net::MessageIn &msg) const +{ + // +++ need somhow show this effects. + // type is not same with self/misc effect. + msg.readInt32("account id"); + msg.readInt32("effect type"); + msg.readInt32("num"); // effect variable +} + void BeingHandler::processBeingSoundEffect(Net::MessageIn &msg) const { // +++ need play this effect. -- cgit v1.2.3-70-g09d2