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/auctionhandler.cpp | |
parent | 8aad60beb37fb0f364b0d8ab5bbe66232eacb676 (diff) | |
download | manaplus-7d162145958fccfcc3ba32a7db3b8161cfe83fe2.tar.gz manaplus-7d162145958fccfcc3ba32a7db3b8161cfe83fe2.tar.bz2 manaplus-7d162145958fccfcc3ba32a7db3b8161cfe83fe2.tar.xz manaplus-7d162145958fccfcc3ba32a7db3b8161cfe83fe2.zip |
Mark all unimplimented packets with UNIMPLIMENTEDPACKET attribute.
Diffstat (limited to 'src/net/eathena/auctionhandler.cpp')
-rw-r--r-- | src/net/eathena/auctionhandler.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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"); } |