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 39ecaf5ce..1e7b0fd3f 100644 --- a/src/net/eathena/playerhandler.cpp +++ b/src/net/eathena/playerhandler.cpp @@ -247,6 +247,11 @@ void PlayerHandler::setShortcut(const int idx, outMsg.writeInt16(level, "level"); } +void PlayerHandler::removeOption() const +{ + MessageOut outMsg(CMSG_REMOVE_OPTION); +} + 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 38a6b3d25..d6309f45b 100644 --- a/src/net/eathena/playerhandler.h +++ b/src/net/eathena/playerhandler.h @@ -63,6 +63,7 @@ class PlayerHandler final : public MessageHandler, public Ea::PlayerHandler const uint8_t type, const int id, const int level) const override final; + void removeOption() const override final; protected: void processPlayerStatUpdate5(Net::MessageIn &msg); diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h index 8917cb15d..0c24b0e1c 100644 --- a/src/net/eathena/protocol.h +++ b/src/net/eathena/protocol.h @@ -314,6 +314,7 @@ #define CMSG_SET_SHORTCUTS 0x02ba #define CMSG_NPC_COMPLETE_PROGRESS_BAR 0x02f1 #define CMSG_PLAYER_MAPMOVE 0x0140 +#define CMSG_REMOVE_OPTION 0x012a #define SMSG_SOLVE_CHAR_NAME 0x0194 #define SMSG_SKILL_CASTING 0x07fb |