summaryrefslogtreecommitdiff
path: root/src/net/eathena/beinghandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-08 00:32:26 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-08 00:32:26 +0300
commit17aea3a2f39b62202548d54c70eeb127e93f14c5 (patch)
tree95d9ece5e64cbf43b439a5a91f0edd32830aa09a /src/net/eathena/beinghandler.cpp
parent21029a5465e42e3820175e474c6860b6349d7c5c (diff)
downloadmanaplus-17aea3a2f39b62202548d54c70eeb127e93f14c5.tar.gz
manaplus-17aea3a2f39b62202548d54c70eeb127e93f14c5.tar.bz2
manaplus-17aea3a2f39b62202548d54c70eeb127e93f14c5.tar.xz
manaplus-17aea3a2f39b62202548d54c70eeb127e93f14c5.zip
eathena: add partial support for packet SMSG_BEING_SPECIAL_EFFECT_NUM 0x0284.
Diffstat (limited to 'src/net/eathena/beinghandler.cpp')
-rw-r--r--src/net/eathena/beinghandler.cpp14
1 files changed, 14 insertions, 0 deletions
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.