From 51b33a512a837cf41b4713e89d1a5bc52a20d8db Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 9 Sep 2014 17:24:35 +0300 Subject: eathena: add packet CMSG_CHANGE_CART 0x01af. --- src/net/eathena/playerhandler.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/net/eathena/playerhandler.cpp') diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp index 1e7b0fd3f..7dd217918 100644 --- a/src/net/eathena/playerhandler.cpp +++ b/src/net/eathena/playerhandler.cpp @@ -252,6 +252,12 @@ void PlayerHandler::removeOption() const MessageOut outMsg(CMSG_REMOVE_OPTION); } +void PlayerHandler::changeCart(const int type) const +{ + MessageOut outMsg(CMSG_CHANGE_CART); + outMsg.writeInt16(type, "type"); +} + void PlayerHandler::processPlayerShortcuts(Net::MessageIn &msg) { for (int f = 0; f < 27; f ++) -- cgit v1.2.3-70-g09d2