summaryrefslogtreecommitdiff
path: root/src/net/auctionhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-06 22:12:43 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-06 22:12:43 +0300
commitd12294702a4abd46a3fab0f2ea5b9aa3f8ef824a (patch)
treea3575c872235776e00cc60913a695a1ed580f546 /src/net/auctionhandler.h
parent6e3bf9979165b7569ad7a58ec4679f2531e50b90 (diff)
downloadmv-d12294702a4abd46a3fab0f2ea5b9aa3f8ef824a.tar.gz
mv-d12294702a4abd46a3fab0f2ea5b9aa3f8ef824a.tar.bz2
mv-d12294702a4abd46a3fab0f2ea5b9aa3f8ef824a.tar.xz
mv-d12294702a4abd46a3fab0f2ea5b9aa3f8ef824a.zip
eathena: add packet CMSG_AUCTION_SEARCH 0x0251.
Diffstat (limited to 'src/net/auctionhandler.h')
-rw-r--r--src/net/auctionhandler.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/net/auctionhandler.h b/src/net/auctionhandler.h
index 815393056..1dd4c32aa 100644
--- a/src/net/auctionhandler.h
+++ b/src/net/auctionhandler.h
@@ -21,6 +21,8 @@
#ifndef NET_AUCTIONHANDLER_H
#define NET_AUCTIONHANDLER_H
+#include "enums/net/auctionsearchtype.h"
+
#include <string>
#include "localconsts.h"
@@ -51,6 +53,11 @@ class AuctionHandler notfinal
virtual void bid(const int auctionId,
const int money) const = 0;
+
+ virtual void search(const AuctionSearchType::Type type,
+ const int auctionId,
+ const std::string &text,
+ const int page) const = 0;
};
} // namespace Net