summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-09 19:01:12 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-09 19:01:12 +0300
commitc2df86167db6b7a70ca9377b8a0953a2d3513cb8 (patch)
treeac410e5f96ba82c9237cf289eb6794adc4fb13b5 /src/net/eathena
parent83455b8803cfaaa537c8d15c64b5553c664885f5 (diff)
downloadmv-c2df86167db6b7a70ca9377b8a0953a2d3513cb8.tar.gz
mv-c2df86167db6b7a70ca9377b8a0953a2d3513cb8.tar.bz2
mv-c2df86167db6b7a70ca9377b8a0953a2d3513cb8.tar.xz
mv-c2df86167db6b7a70ca9377b8a0953a2d3513cb8.zip
eathena: add packet CMSG_PLAYER_SET_MEMO 0x011d.
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.h1
3 files changed, 7 insertions, 0 deletions
diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp
index 7dd217918..991dd71b4 100644
--- a/src/net/eathena/playerhandler.cpp
+++ b/src/net/eathena/playerhandler.cpp
@@ -258,6 +258,11 @@ void PlayerHandler::changeCart(const int type) const
outMsg.writeInt16(type, "type");
}
+void PlayerHandler::setMemo() const
+{
+ MessageOut outMsg(CMSG_PLAYER_SET_MEMO);
+}
+
void PlayerHandler::processPlayerShortcuts(Net::MessageIn &msg)
{
for (int f = 0; f < 27; f ++)
diff --git a/src/net/eathena/playerhandler.h b/src/net/eathena/playerhandler.h
index 6a95e2091..5cb93688c 100644
--- a/src/net/eathena/playerhandler.h
+++ b/src/net/eathena/playerhandler.h
@@ -65,6 +65,7 @@ class PlayerHandler final : public MessageHandler, public Ea::PlayerHandler
const int level) const override final;
void removeOption() const override final;
void changeCart(const int type) const override final;
+ void setMemo() const override final;
protected:
void processPlayerStatUpdate5(Net::MessageIn &msg);
diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h
index a147897cd..31adc550f 100644
--- a/src/net/eathena/protocol.h
+++ b/src/net/eathena/protocol.h
@@ -316,6 +316,7 @@
#define CMSG_NPC_COMPLETE_PROGRESS_BAR 0x02f1
#define CMSG_PLAYER_MAPMOVE 0x0140
#define CMSG_REMOVE_OPTION 0x012a
+#define CMSG_PLAYER_SET_MEMO 0x011d
#define SMSG_SOLVE_CHAR_NAME 0x0194
#define SMSG_SKILL_CASTING 0x07fb