summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-11 23:18:59 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-11 23:18:59 +0300
commite0988e8f2cf1f43207310e2a8c050f7e95fe970f (patch)
tree9ea7a12d6a1232c8874eaa0b4084e911e5cf2b0e /src/net/eathena
parent603d7aa8dd15738bbf72d83bdb0d6c4caedb62c8 (diff)
downloadplus-e0988e8f2cf1f43207310e2a8c050f7e95fe970f.tar.gz
plus-e0988e8f2cf1f43207310e2a8c050f7e95fe970f.tar.bz2
plus-e0988e8f2cf1f43207310e2a8c050f7e95fe970f.tar.xz
plus-e0988e8f2cf1f43207310e2a8c050f7e95fe970f.zip
eathena: add packet CMSG_DORI_DORI 0x01e7.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/playerhandler.cpp5
-rw-r--r--src/net/eathena/playerhandler.h1
-rw-r--r--src/net/eathena/protocol.h2
3 files changed, 8 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