diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-11 23:18:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-11 23:18:59 +0300 |
commit | e0988e8f2cf1f43207310e2a8c050f7e95fe970f (patch) | |
tree | 9ea7a12d6a1232c8874eaa0b4084e911e5cf2b0e /src | |
parent | 603d7aa8dd15738bbf72d83bdb0d6c4caedb62c8 (diff) | |
download | mv-e0988e8f2cf1f43207310e2a8c050f7e95fe970f.tar.gz mv-e0988e8f2cf1f43207310e2a8c050f7e95fe970f.tar.bz2 mv-e0988e8f2cf1f43207310e2a8c050f7e95fe970f.tar.xz mv-e0988e8f2cf1f43207310e2a8c050f7e95fe970f.zip |
eathena: add packet CMSG_DORI_DORI 0x01e7.
Diffstat (limited to 'src')
-rw-r--r-- | src/net/eathena/playerhandler.cpp | 5 | ||||
-rw-r--r-- | src/net/eathena/playerhandler.h | 1 | ||||
-rw-r--r-- | src/net/eathena/protocol.h | 2 | ||||
-rw-r--r-- | src/net/playerhandler.h | 2 | ||||
-rw-r--r-- | src/net/tmwa/playerhandler.cpp | 4 | ||||
-rw-r--r-- | src/net/tmwa/playerhandler.h | 2 |
6 files changed, 16 insertions, 0 deletions
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); |