summaryrefslogtreecommitdiff
path: root/src
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
parent414d1437641e999c95240b61c9c4af98d4fc4c17 (diff)
downloadmanaverse-2cf982bd6e7d98d201f4b9c81291cd23f56b529c.tar.gz
manaverse-2cf982bd6e7d98d201f4b9c81291cd23f56b529c.tar.bz2
manaverse-2cf982bd6e7d98d201f4b9c81291cd23f56b529c.tar.xz
manaverse-2cf982bd6e7d98d201f4b9c81291cd23f56b529c.zip
eathena: add partial support for packet CMSG_BLADE_STOP 0x01d1.
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/beinghandler.cpp14
-rw-r--r--src/net/eathena/beinghandler.h2
-rw-r--r--src/net/eathena/protocol.h1
3 files changed, 17 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
diff --git a/src/net/eathena/beinghandler.h b/src/net/eathena/beinghandler.h
index b0abda649..a4ed453aa 100644
--- a/src/net/eathena/beinghandler.h
+++ b/src/net/eathena/beinghandler.h
@@ -128,6 +128,8 @@ class BeingHandler final : public MessageHandler, public Ea::BeingHandler
static void processClassChange(Net::MessageIn &msg);
static void processSpiritBalls(Net::MessageIn &msg);
+
+ static void processBladeStop(Net::MessageIn &msg);
};
} // namespace EAthena
diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h
index c5332f079..ee1fbbcbc 100644
--- a/src/net/eathena/protocol.h
+++ b/src/net/eathena/protocol.h
@@ -564,6 +564,7 @@
#define CMSG_DORI_DORI 0x01e7
#define CMSG_EXPLOSION_SPIRITS 0x01ed
#define CMSG_SPIRIT_BALLS 0x01d0
+#define CMSG_BLADE_STOP 0x01d1
#define CMSG_PVP_INFO 0x020f
#define CMSG_PLAYER_AUTO_REVIVE 0x0292
#define CMSG_QUEST_ACTIVATE 0x02b6