summaryrefslogtreecommitdiff
path: root/src/net/vendinghandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/vendinghandler.h')
-rw-r--r--src/net/vendinghandler.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/vendinghandler.h b/src/net/vendinghandler.h
index fb3ef4b4a..af8f39acc 100644
--- a/src/net/vendinghandler.h
+++ b/src/net/vendinghandler.h
@@ -39,6 +39,10 @@ class VendingHandler notfinal
virtual void close() const = 0;
virtual void open(const Being *const being) const = 0;
+
+ virtual void buy(const Being *const being,
+ const int index,
+ const int amount) const = 0;
};
} // namespace Net