summaryrefslogtreecommitdiff
path: root/src/net/eathena/charserverhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/charserverhandler.cpp')
-rw-r--r--src/net/eathena/charserverhandler.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/net/eathena/charserverhandler.cpp b/src/net/eathena/charserverhandler.cpp
index 2d89bb7d0..5308fdaea 100644
--- a/src/net/eathena/charserverhandler.cpp
+++ b/src/net/eathena/charserverhandler.cpp
@@ -84,6 +84,7 @@ CharServerHandler::CharServerHandler() :
SMSG_CHAR_PINCODE_STATUS,
SMSG_CHAR_CHECK_RENAME,
SMSG_CHAR_RENAME,
+ SMSG_CHAR_CHANGE_SLOT,
0
};
handledMessages = _messages;
@@ -142,6 +143,10 @@ void CharServerHandler::handleMessage(Net::MessageIn &msg)
processCharRename(msg);
break;
+ case SMSG_CHAR_CHANGE_SLOT:
+ processCharChangeSlot(msg);
+ break;
+
default:
break;
}
@@ -569,4 +574,11 @@ void CharServerHandler::changeSlot(const int oldSlot, const int newSlot)
outMsg.writeInt16(0, "unused");
}
+void CharServerHandler::processCharChangeSlot(Net::MessageIn &msg)
+{
+ msg.readInt16("len");
+ msg.readInt16("flag"); // 0 - ok, 1 - error
+ msg.readInt16("unused");
+}
+
} // namespace EAthena