From 2288a403ad4377fbb552243e805aaf0b5a4f5a0d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 3 Nov 2015 21:54:44 +0300 Subject: Allow buy from npc shop or from market more than one of item at one transaction. --- src/net/markethandler.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/net/markethandler.h') 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 +#include #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 &items) const = 0; }; } // namespace Net -- cgit v1.2.3-60-g2f50