summaryrefslogtreecommitdiff
path: root/src/net/markethandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-03 21:54:44 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-04 02:14:03 +0300
commit2288a403ad4377fbb552243e805aaf0b5a4f5a0d (patch)
treead081047290fb6cc101f43833de6f565a368cf29 /src/net/markethandler.h
parentcd636f7e367cfb7fa2c348d00071301a480d62c3 (diff)
downloadplus-2288a403ad4377fbb552243e805aaf0b5a4f5a0d.tar.gz
plus-2288a403ad4377fbb552243e805aaf0b5a4f5a0d.tar.bz2
plus-2288a403ad4377fbb552243e805aaf0b5a4f5a0d.tar.xz
plus-2288a403ad4377fbb552243e805aaf0b5a4f5a0d.zip
Allow buy from npc shop or from market more than one of item at one transaction.
Diffstat (limited to 'src/net/markethandler.h')
-rw-r--r--src/net/markethandler.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/markethandler.h b/src/net/markethandler.h
index 13027024e..2037d95cf 100644
--- a/src/net/markethandler.h
+++ b/src/net/markethandler.h
@@ -26,9 +26,12 @@
#include "enums/simpletypes/itemcolor.h"
#include <string>
+#include <vector>
#include "localconsts.h"
+class ShopItem;
+
namespace Net
{
@@ -44,6 +47,8 @@ class MarketHandler notfinal
const int type,
const ItemColor color,
const int amount) const = 0;
+
+ virtual void buyItems(std::vector<ShopItem*> &items) const = 0;
};
} // namespace Net