diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-04-01 15:36:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-04-01 15:43:54 +0300 |
commit | 101c2a32bd0f059f2c3544d25e385c44a793a6a3 (patch) | |
tree | 71bf1d410fcf5c2d486d6c01e7167f5326fd141f /src/net/eathena/charserverhandler.cpp | |
parent | c0ad5c77eed5b73f8e33708518a737e17d25f0f8 (diff) | |
download | manaverse-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.cpp | 16 |
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 |