diff options
Diffstat (limited to 'src/net/eathena')
-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 | 1 |
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 |