summaryrefslogtreecommitdiff
path: root/src/net/eathena/charserverhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-01 15:36:32 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-01 15:43:54 +0300
commit101c2a32bd0f059f2c3544d25e385c44a793a6a3 (patch)
tree71bf1d410fcf5c2d486d6c01e7167f5326fd141f /src/net/eathena/charserverhandler.cpp
parentc0ad5c77eed5b73f8e33708518a737e17d25f0f8 (diff)
downloadmanaverse-101c2a32bd0f059f2c3544d25e385c44a793a6a3.tar.gz
manaverse-101c2a32bd0f059f2c3544d25e385c44a793a6a3.tar.bz2
manaverse-101c2a32bd0f059f2c3544d25e385c44a793a6a3.tar.xz
manaverse-101c2a32bd0f059f2c3544d25e385c44a793a6a3.zip
eathena: add partial support for packet SMSG_CHAR_BAN_CHAR_LIST 0x020d.
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