summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-11 17:21:19 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-11 17:21:19 +0300
commitb56d93804c561ed11d678ab193d1d7ddc8e586b1 (patch)
treece40c241b4a981dd7d80d51a6d6d3d7c623a6541 /src
parent2cf982bd6e7d98d201f4b9c81291cd23f56b529c (diff)
downloadmanaplus-b56d93804c561ed11d678ab193d1d7ddc8e586b1.tar.gz
manaplus-b56d93804c561ed11d678ab193d1d7ddc8e586b1.tar.bz2
manaplus-b56d93804c561ed11d678ab193d1d7ddc8e586b1.tar.xz
manaplus-b56d93804c561ed11d678ab193d1d7ddc8e586b1.zip
eathena: add partial support for packet CMSG_COMBO_DELAY 0x01d2.
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/beinghandler.cpp13
-rw-r--r--src/net/eathena/beinghandler.h2
-rw-r--r--src/net/eathena/protocol.h1
3 files changed, 16 insertions, 0 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp
index fc3a180d7..888c8e46e 100644
--- a/src/net/eathena/beinghandler.cpp
+++ b/src/net/eathena/beinghandler.cpp
@@ -121,6 +121,7 @@ BeingHandler::BeingHandler(const bool enableSync) :
SMSG_CLASS_CHANGE,
CMSG_SPIRIT_BALLS,
CMSG_BLADE_STOP,
+ CMSG_COMBO_DELAY,
0
};
handledMessages = _messages;
@@ -333,6 +334,10 @@ void BeingHandler::handleMessage(Net::MessageIn &msg)
processBladeStop(msg);
break;
+ case CMSG_COMBO_DELAY:
+ processComboDelay(msg);
+ break;
+
default:
break;
}
@@ -1692,4 +1697,12 @@ void BeingHandler::processBladeStop(Net::MessageIn &msg)
msg.readInt32("flag");
}
+void BeingHandler::processComboDelay(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+
+ msg.readInt32("being id");
+ msg.readInt32("wait");
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/beinghandler.h b/src/net/eathena/beinghandler.h
index a4ed453aa..0609f8647 100644
--- a/src/net/eathena/beinghandler.h
+++ b/src/net/eathena/beinghandler.h
@@ -130,6 +130,8 @@ class BeingHandler final : public MessageHandler, public Ea::BeingHandler
static void processSpiritBalls(Net::MessageIn &msg);
static void processBladeStop(Net::MessageIn &msg);
+
+ static void processComboDelay(Net::MessageIn &msg);
};
} // namespace EAthena
diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h
index ee1fbbcbc..72bfc4f75 100644
--- a/src/net/eathena/protocol.h
+++ b/src/net/eathena/protocol.h
@@ -565,6 +565,7 @@
#define CMSG_EXPLOSION_SPIRITS 0x01ed
#define CMSG_SPIRIT_BALLS 0x01d0
#define CMSG_BLADE_STOP 0x01d1
+#define CMSG_COMBO_DELAY 0x01d2
#define CMSG_PVP_INFO 0x020f
#define CMSG_PLAYER_AUTO_REVIVE 0x0292
#define CMSG_QUEST_ACTIVATE 0x02b6