From 7d162145958fccfcc3ba32a7db3b8161cfe83fe2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 10 Mar 2015 16:54:46 +0300 Subject: Mark all unimplimented packets with UNIMPLIMENTEDPACKET attribute. --- src/net/eathena/friendshandler.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/net/eathena/friendshandler.cpp') 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"); -- cgit v1.2.3-70-g09d2