From 9f37c6e32dedd9b91aae09038de5e3fa1ab84513 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 7 Jan 2015 14:42:52 +0300 Subject: eathena: add packet CMSG_VENDING_BUY 0x0134. --- src/net/tmwa/vendinghandler.cpp | 6 ++++++ src/net/tmwa/vendinghandler.h | 4 ++++ 2 files changed, 10 insertions(+) (limited to 'src/net/tmwa') diff --git a/src/net/tmwa/vendinghandler.cpp b/src/net/tmwa/vendinghandler.cpp index b32238c1f..b638ba6ee 100644 --- a/src/net/tmwa/vendinghandler.cpp +++ b/src/net/tmwa/vendinghandler.cpp @@ -50,4 +50,10 @@ void VendingHandler::open(const Being *const being A_UNUSED) const { } +void VendingHandler::buy(const Being *const being A_UNUSED, + const int index A_UNUSED, + const int amount A_UNUSED) const +{ +} + } // namespace TmwAthena diff --git a/src/net/tmwa/vendinghandler.h b/src/net/tmwa/vendinghandler.h index 1bbc42d06..fee23c0be 100644 --- a/src/net/tmwa/vendinghandler.h +++ b/src/net/tmwa/vendinghandler.h @@ -41,6 +41,10 @@ class VendingHandler final : public MessageHandler, void close() const override final; void open(const Being *const being) const override final; + + void buy(const Being *const being, + const int index, + const int amount) const override final; }; } // namespace TmwAthena -- cgit v1.2.3-70-g09d2