From e0988e8f2cf1f43207310e2a8c050f7e95fe970f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 11 Sep 2014 23:18:59 +0300 Subject: eathena: add packet CMSG_DORI_DORI 0x01e7. --- src/net/eathena/playerhandler.cpp | 5 +++++ src/net/eathena/playerhandler.h | 1 + src/net/eathena/protocol.h | 2 ++ src/net/playerhandler.h | 2 ++ src/net/tmwa/playerhandler.cpp | 4 ++++ src/net/tmwa/playerhandler.h | 2 ++ 6 files changed, 16 insertions(+) diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp index 991dd71b4..014a0ca65 100644 --- a/src/net/eathena/playerhandler.cpp +++ b/src/net/eathena/playerhandler.cpp @@ -384,4 +384,9 @@ void PlayerHandler::processWalkResponse(Net::MessageIn &msg) BLOCK_END("PlayerHandler::processWalkResponse") } +void PlayerHandler::doriDori() const +{ + MessageOut outMsg(CMSG_DORI_DORI); +} + } // namespace EAthena diff --git a/src/net/eathena/playerhandler.h b/src/net/eathena/playerhandler.h index 5cb93688c..315945ae7 100644 --- a/src/net/eathena/playerhandler.h +++ b/src/net/eathena/playerhandler.h @@ -66,6 +66,7 @@ class PlayerHandler final : public MessageHandler, public Ea::PlayerHandler void removeOption() const override final; void changeCart(const int type) const override final; void setMemo() const override final; + void doriDori() const override final; protected: void processPlayerStatUpdate5(Net::MessageIn &msg); diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h index 73aa49443..d62a2a5d6 100644 --- a/src/net/eathena/protocol.h +++ b/src/net/eathena/protocol.h @@ -357,6 +357,8 @@ #define CMSG_PET_REQUEST_STATE 0x01a9 #define CMSG_PET_SET_NAME 0x01a5 +#define CMSG_DORI_DORI 0x01e7 + #define SMSG_SOLVE_CHAR_NAME 0x0194 #define SMSG_SKILL_CASTING 0x07fb #define SMSG_SKILL_CAST_CANCEL 0x01b9 diff --git a/src/net/playerhandler.h b/src/net/playerhandler.h index 9cfc1d830..4f5e91fb1 100644 --- a/src/net/playerhandler.h +++ b/src/net/playerhandler.h @@ -89,6 +89,8 @@ class PlayerHandler notfinal virtual void changeCart(const int type) const = 0; virtual void setMemo() const = 0; + + virtual void doriDori() const = 0; }; } // namespace Net diff --git a/src/net/tmwa/playerhandler.cpp b/src/net/tmwa/playerhandler.cpp index fa3f9a874..5817de18b 100644 --- a/src/net/tmwa/playerhandler.cpp +++ b/src/net/tmwa/playerhandler.cpp @@ -452,4 +452,8 @@ void PlayerHandler::setShortcut(const int idx A_UNUSED, { } +void PlayerHandler::doriDori() const +{ +} + } // namespace TmwAthena diff --git a/src/net/tmwa/playerhandler.h b/src/net/tmwa/playerhandler.h index dbda29c57..1eecb632f 100644 --- a/src/net/tmwa/playerhandler.h +++ b/src/net/tmwa/playerhandler.h @@ -71,6 +71,8 @@ class PlayerHandler final : public MessageHandler, public Ea::PlayerHandler void setMemo() const override final; + void doriDori() const override final; + protected: void processPlayerStatUpdate5(Net::MessageIn &msg); -- cgit v1.2.3-60-g2f50