summaryrefslogtreecommitdiff
path: root/src/net/eathena/beinghandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-11 17:16:28 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-11 17:16:28 +0300
commit2cf982bd6e7d98d201f4b9c81291cd23f56b529c (patch)
tree19f8e571fa6fa4b366058cb6077b3a3b34c70527 /src/net/eathena/beinghandler.cpp
parent414d1437641e999c95240b61c9c4af98d4fc4c17 (diff)
downloadmv-2cf982bd6e7d98d201f4b9c81291cd23f56b529c.tar.gz
mv-2cf982bd6e7d98d201f4b9c81291cd23f56b529c.tar.bz2
mv-2cf982bd6e7d98d201f4b9c81291cd23f56b529c.tar.xz
mv-2cf982bd6e7d98d201f4b9c81291cd23f56b529c.zip
eathena: add partial support for packet CMSG_BLADE_STOP 0x01d1.
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 0257c7a11..fc3a180d7 100644
--- a/src/net/eathena/beinghandler.cpp
+++ b/src/net/eathena/beinghandler.cpp
@@ -120,6 +120,7 @@ BeingHandler::BeingHandler(const bool enableSync) :
SMSG_MONSTER_INFO,
SMSG_CLASS_CHANGE,
CMSG_SPIRIT_BALLS,
+ CMSG_BLADE_STOP,
0
};
handledMessages = _messages;
@@ -328,6 +329,10 @@ void BeingHandler::handleMessage(Net::MessageIn &msg)
processSpiritBalls(msg);
break;
+ case CMSG_BLADE_STOP:
+ processBladeStop(msg);
+ break;
+
default:
break;
}
@@ -1678,4 +1683,13 @@ void BeingHandler::processSpiritBalls(Net::MessageIn &msg)
msg.readInt16("spirits amount");
}
+void BeingHandler::processBladeStop(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+
+ msg.readInt32("src being id");
+ msg.readInt32("dst being id");
+ msg.readInt32("flag");
+}
+
} // namespace EAthena