summaryrefslogtreecommitdiff
path: root/src/net/eathena/beinghandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-13 23:24:06 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-13 23:24:06 +0300
commit949a27bfda6b3fa8e6a4ad2e05448c61e9889e8a (patch)
tree22336cd01cb23acdd57aae55329fe5bdb69a0fd0 /src/net/eathena/beinghandler.cpp
parent857b503b43dc7e2a452f1897efc2100b028f843a (diff)
downloadmanaplus-949a27bfda6b3fa8e6a4ad2e05448c61e9889e8a.tar.gz
manaplus-949a27bfda6b3fa8e6a4ad2e05448c61e9889e8a.tar.bz2
manaplus-949a27bfda6b3fa8e6a4ad2e05448c61e9889e8a.tar.xz
manaplus-949a27bfda6b3fa8e6a4ad2e05448c61e9889e8a.zip
eathena: add partical support for SMSG_BEING_SPECIAL_EFFECT 0x01f3.
Diffstat (limited to 'src/net/eathena/beinghandler.cpp')
-rw-r--r--src/net/eathena/beinghandler.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp
index d9229caae..4420f55c8 100644
--- a/src/net/eathena/beinghandler.cpp
+++ b/src/net/eathena/beinghandler.cpp
@@ -69,6 +69,7 @@ BeingHandler::BeingHandler(const bool enableSync) :
SMSG_BEING_ACTION,
SMSG_BEING_ACTION2,
SMSG_BEING_SELFEFFECT,
+ SMSG_BEING_SPECIAL_EFFECT,
SMSG_BEING_EMOTION,
SMSG_BEING_CHANGE_LOOKS,
SMSG_BEING_CHANGE_LOOKS2,
@@ -158,6 +159,10 @@ void BeingHandler::handleMessage(Net::MessageIn &msg)
processBeingSelfEffect(msg);
break;
+ case SMSG_BEING_SPECIAL_EFFECT:
+ processBeingSpecialEffect(msg);
+ break;
+
case SMSG_BEING_EMOTION:
processBeingEmotion(msg);
break;
@@ -1598,6 +1603,14 @@ void BeingHandler::processBeingChangeDirection(Net::MessageIn &msg) const
BLOCK_END("BeingHandler::processBeingChangeDirection")
}
+void BeingHandler::processBeingSpecialEffect(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");
+}
+
void BeingHandler::setServerGender(Being *const being, const uint8_t gender)
{
switch (gender)