summaryrefslogtreecommitdiff
path: root/src/net/eathena/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/eathena/vendinghandler.h
parent290ae8ba45bb706f32da15978459022e633aa626 (diff)
downloadmv-1ad3e55c431b61e6fe6638ee0afc5e8f4c14496c.tar.gz
mv-1ad3e55c431b61e6fe6638ee0afc5e8f4c14496c.tar.bz2
mv-1ad3e55c431b61e6fe6638ee0afc5e8f4c14496c.tar.xz
mv-1ad3e55c431b61e6fe6638ee0afc5e8f4c14496c.zip
Allow buy more than one item at vending shop at once.
Diffstat (limited to 'src/net/eathena/vendinghandler.h')
-rw-r--r--src/net/eathena/vendinghandler.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/eathena/vendinghandler.h b/src/net/eathena/vendinghandler.h
index b824a8d8e..307c93ad9 100644
--- a/src/net/eathena/vendinghandler.h
+++ b/src/net/eathena/vendinghandler.h
@@ -45,6 +45,10 @@ class VendingHandler final : public Net::VendingHandler
const int index,
const int amount) const override final;
+ void buyItems(const Being *const being,
+ const std::vector<ShopItem*> &items) const
+ override final;
+
void createShop(const std::string &name,
const bool flag,
const std::vector<ShopItem*> &items) const