diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-10 16:54:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-10 16:54:46 +0300 |
commit | 7d162145958fccfcc3ba32a7db3b8161cfe83fe2 (patch) | |
tree | d109f74483a9274bca46a41670cc5ec69b50876f /src/net/eathena/friendshandler.cpp | |
parent | 8aad60beb37fb0f364b0d8ab5bbe66232eacb676 (diff) | |
download | plus-7d162145958fccfcc3ba32a7db3b8161cfe83fe2.tar.gz plus-7d162145958fccfcc3ba32a7db3b8161cfe83fe2.tar.bz2 plus-7d162145958fccfcc3ba32a7db3b8161cfe83fe2.tar.xz plus-7d162145958fccfcc3ba32a7db3b8161cfe83fe2.zip |
Mark all unimplimented packets with UNIMPLIMENTEDPACKET attribute.
Diffstat (limited to 'src/net/eathena/friendshandler.cpp')
-rw-r--r-- | src/net/eathena/friendshandler.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/eathena/friendshandler.cpp b/src/net/eathena/friendshandler.cpp index fd73a8154..7d28441b6 100644 --- a/src/net/eathena/friendshandler.cpp +++ b/src/net/eathena/friendshandler.cpp @@ -20,6 +20,8 @@ #include "net/eathena/friendshandler.h" +#include "logger.h" + #include "net/eathena/messageout.h" #include "net/eathena/protocol.h" @@ -67,6 +69,7 @@ void FriendsHandler::handleMessage(Net::MessageIn &msg) void FriendsHandler::processPlayerOnline(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readInt32("account id"); msg.readInt32("char id"); msg.readUInt8("flag"); // 0 - online, 1 - offline @@ -74,6 +77,7 @@ void FriendsHandler::processPlayerOnline(Net::MessageIn &msg) void FriendsHandler::processFriendsList(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; const int count = (msg.readInt16("size") - 4) / 32; for (int f = 0; f < count; f ++) { @@ -85,6 +89,7 @@ void FriendsHandler::processFriendsList(Net::MessageIn &msg) void FriendsHandler::processRequestAck(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readInt16("type"); msg.readInt32("account id"); msg.readInt32("char id"); |