diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-25 02:55:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-25 02:55:51 +0300 |
commit | 1ad3e55c431b61e6fe6638ee0afc5e8f4c14496c (patch) | |
tree | c198baa8b7c57b2a4b118e6d740961a126d0e528 /src/net/tmwa/vendinghandler.h | |
parent | 290ae8ba45bb706f32da15978459022e633aa626 (diff) | |
download | plus-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/tmwa/vendinghandler.h')
-rw-r--r-- | src/net/tmwa/vendinghandler.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/tmwa/vendinghandler.h b/src/net/tmwa/vendinghandler.h index 47a99c7b4..d8023fb1c 100644 --- a/src/net/tmwa/vendinghandler.h +++ b/src/net/tmwa/vendinghandler.h @@ -41,6 +41,10 @@ class VendingHandler final : public Net::VendingHandler const int index, const int amount) const override final A_CONST; + void buyItems(const Being *const being, + const std::vector<ShopItem*> &items) const + override final A_CONST; + void buy2(const Being *const being, const int vendId, const int index, |