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/auctionhandler.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/net/eathena/auctionhandler.cpp') diff --git a/src/net/eathena/auctionhandler.cpp b/src/net/eathena/auctionhandler.cpp index 1fe68d760..404e38c24 100644 --- a/src/net/eathena/auctionhandler.cpp +++ b/src/net/eathena/auctionhandler.cpp @@ -21,6 +21,7 @@ #include "net/eathena/auctionhandler.h" #include "item.h" +#include "logger.h" #include "net/ea/eaprotocol.h" @@ -81,11 +82,13 @@ void AuctionHandler::handleMessage(Net::MessageIn &msg) void AuctionHandler::processOpenWindow(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readInt32("flag"); // 0 - open, 1 - close } void AuctionHandler::processAuctionResults(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readInt16("len"); msg.readInt32("pages"); const int itemCount = msg.readInt32("items count"); @@ -110,17 +113,20 @@ void AuctionHandler::processAuctionResults(Net::MessageIn &msg) void AuctionHandler::processAuctionSetItem(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readInt16("index"); msg.readUInt8("flag"); } void AuctionHandler::processAuctionMessage(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readUInt8("message"); } void AuctionHandler::processAuctionClose(Net::MessageIn &msg) { + UNIMPLIMENTEDPACKET; msg.readInt16("flag"); } -- cgit v1.2.3-60-g2f50