diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-11 20:54:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-11 20:54:19 +0300 |
commit | 66f9a6c93e9b172938136dabc1e3fe8840310ca6 (patch) | |
tree | 48088b96222412978fd41c5dbb5ac0de140666b8 /src/net/eathena/friendshandler.cpp | |
parent | 674269cdc7ce138b4c9b89f19ade3186888119cc (diff) | |
download | manaverse-66f9a6c93e9b172938136dabc1e3fe8840310ca6.tar.gz manaverse-66f9a6c93e9b172938136dabc1e3fe8840310ca6.tar.bz2 manaverse-66f9a6c93e9b172938136dabc1e3fe8840310ca6.tar.xz manaverse-66f9a6c93e9b172938136dabc1e3fe8840310ca6.zip |
eathena: add partial support for packet SMSG_FRIENDS_DELETE_PLAYER 0x020a.
Diffstat (limited to 'src/net/eathena/friendshandler.cpp')
-rw-r--r-- | src/net/eathena/friendshandler.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/net/eathena/friendshandler.cpp b/src/net/eathena/friendshandler.cpp index fafe3c76b..91f08a205 100644 --- a/src/net/eathena/friendshandler.cpp +++ b/src/net/eathena/friendshandler.cpp @@ -41,6 +41,7 @@ FriendsHandler::FriendsHandler() : SMSG_FRIENDS_LIST, SMSG_FRIENDS_REQUEST_ACK, SMSG_FRIENDS_REQUEST, + SMSG_FRIENDS_DELETE_PLAYER, 0 }; handledMessages = _messages; @@ -67,6 +68,10 @@ void FriendsHandler::handleMessage(Net::MessageIn &msg) processRequest(msg); break; + case SMSG_FRIENDS_DELETE_PLAYER: + processDeletePlayer(msg); + break; + default: break; } @@ -132,4 +137,11 @@ void FriendsHandler::remove(const int accountId, const int charId) const outMsg.writeInt32(charId, "char id"); } +void FriendsHandler::processDeletePlayer(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + msg.readInt32("account id"); + msg.readInt32("char id"); +} + } // namespace EAthena |