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.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/net/eathena/charserverhandler.cpp b/src/net/eathena/charserverhandler.cpp
index 4573f1ebe..f813dce6e 100644
--- a/src/net/eathena/charserverhandler.cpp
+++ b/src/net/eathena/charserverhandler.cpp
@@ -97,6 +97,7 @@ CharServerHandler::CharServerHandler() :
SMSG_CHAR_DELETE2_ACCEPT_ACTUAL_ACK,
SMSG_CHAR_DELETE2_CANCEL_ACK,
SMSG_CHAR_CHARACTERS,
+ SMSG_CHAR_BAN_CHAR_LIST,
0
};
handledMessages = _messages;
@@ -179,6 +180,10 @@ void CharServerHandler::handleMessage(Net::MessageIn &msg)
processCharCharacters(msg);
break;
+ case SMSG_CHAR_BAN_CHAR_LIST:
+ processCharBanCharList(msg);
+ break;
+
default:
break;
}
@@ -718,4 +723,15 @@ unsigned int CharServerHandler::hatSprite() const
return 7;
}
+void CharServerHandler::processCharBanCharList(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+ const int count = (msg.readInt16("len") - 4) / 24;
+ for (int f = 0; f < count; f ++)
+ {
+ msg.readInt32("char id");
+ msg.readString(20, "unbun time");
+ }
+}
+
} // namespace EAthena