summaryrefslogtreecommitdiff
path: root/src/net/eathena/playerhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-09 17:24:35 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-09 17:24:35 +0300
commit51b33a512a837cf41b4713e89d1a5bc52a20d8db (patch)
tree421a585493f729cab95e95744aef647e732c3f75 /src/net/eathena/playerhandler.cpp
parent0a455d7f67e9c3e92b17d00be1602bf7d129a1da (diff)
downloadmv-51b33a512a837cf41b4713e89d1a5bc52a20d8db.tar.gz
mv-51b33a512a837cf41b4713e89d1a5bc52a20d8db.tar.bz2
mv-51b33a512a837cf41b4713e89d1a5bc52a20d8db.tar.xz
mv-51b33a512a837cf41b4713e89d1a5bc52a20d8db.zip
eathena: add packet CMSG_CHANGE_CART 0x01af.
Diffstat (limited to 'src/net/eathena/playerhandler.cpp')
-rw-r--r--src/net/eathena/playerhandler.cpp6
1 files changed, 6 insertions, 0 deletions
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 ++)