diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-06 01:32:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-06 01:32:56 +0300 |
commit | cb8de74ca982c59387f83047201ecd75ee1ed533 (patch) | |
tree | 91ad32decc7adc291ab729f8c664780306aa01b8 /src/net/eathena/charserverhandler.cpp | |
parent | ec914ceb5f421019a54b442e6fc0a0a2cfe8d627 (diff) | |
download | mv-cb8de74ca982c59387f83047201ecd75ee1ed533.tar.gz mv-cb8de74ca982c59387f83047201ecd75ee1ed533.tar.bz2 mv-cb8de74ca982c59387f83047201ecd75ee1ed533.tar.xz mv-cb8de74ca982c59387f83047201ecd75ee1ed533.zip |
eathena: add packet CMSG_CHAR_CHANGE_SLOT 0x08d4.
Diffstat (limited to 'src/net/eathena/charserverhandler.cpp')
-rw-r--r-- | src/net/eathena/charserverhandler.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/net/eathena/charserverhandler.cpp b/src/net/eathena/charserverhandler.cpp index 021d12811..2d89bb7d0 100644 --- a/src/net/eathena/charserverhandler.cpp +++ b/src/net/eathena/charserverhandler.cpp @@ -561,4 +561,12 @@ void CharServerHandler::processCharRename(Net::MessageIn &msg) } } +void CharServerHandler::changeSlot(const int oldSlot, const int newSlot) +{ + createOutPacket(CMSG_CHAR_CHANGE_SLOT); + outMsg.writeInt16(oldSlot, "old slot"); + outMsg.writeInt16(newSlot, "new slot"); + outMsg.writeInt16(0, "unused"); +} + } // namespace EAthena |