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/npchandler.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/net/npchandler.h') diff --git a/src/net/npchandler.h b/src/net/npchandler.h index e3ef4ab23..cb7a088f1 100644 --- a/src/net/npchandler.h +++ b/src/net/npchandler.h @@ -32,8 +32,12 @@ #include "enums/simpletypes/beingid.h" #include "enums/simpletypes/itemcolor.h" +#include + #include "localconsts.h" +class ShopItem; + namespace Net { @@ -72,6 +76,8 @@ class NpcHandler notfinal const ItemColor color, const int amount) const = 0; + virtual void buyItems(std::vector &items) const = 0; + virtual void sellItem(const BeingId beingId, const int itemId, const int amount) const = 0; -- cgit v1.2.3-70-g09d2