summaryrefslogtreecommitdiff
path: root/src/net/vendinghandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-25 02:55:51 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-25 02:55:51 +0300
commit1ad3e55c431b61e6fe6638ee0afc5e8f4c14496c (patch)
treec198baa8b7c57b2a4b118e6d740961a126d0e528 /src/net/vendinghandler.h
parent290ae8ba45bb706f32da15978459022e633aa626 (diff)
downloadplus-1ad3e55c431b61e6fe6638ee0afc5e8f4c14496c.tar.gz
plus-1ad3e55c431b61e6fe6638ee0afc5e8f4c14496c.tar.bz2
plus-1ad3e55c431b61e6fe6638ee0afc5e8f4c14496c.tar.xz
plus-1ad3e55c431b61e6fe6638ee0afc5e8f4c14496c.zip
Allow buy more than one item at vending shop at once.
Diffstat (limited to 'src/net/vendinghandler.h')
-rw-r--r--src/net/vendinghandler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/vendinghandler.h b/src/net/vendinghandler.h
index dbabbef7a..2e5d2dffe 100644
--- a/src/net/vendinghandler.h
+++ b/src/net/vendinghandler.h
@@ -46,6 +46,9 @@ class VendingHandler notfinal
const int index,
const int amount) const = 0;
+ virtual void buyItems(const Being *const being,
+ const std::vector<ShopItem*> &items) const = 0;
+
virtual void buy2(const Being *const being,
const int vendId,
const int index,