From bc815d9c4667734c9855a83e71d963c3bd740145 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 5 Feb 2015 22:58:06 +0300 Subject: eathena: add packet CMSG_BUYINGSTORE_SELL 0x0811. --- src/net/tmwa/buyingstorehandler.cpp | 8 ++++++++ src/net/tmwa/buyingstorehandler.h | 6 ++++++ 2 files changed, 14 insertions(+) (limited to 'src/net/tmwa') diff --git a/src/net/tmwa/buyingstorehandler.cpp b/src/net/tmwa/buyingstorehandler.cpp index a0f3d9194..b2385eacb 100644 --- a/src/net/tmwa/buyingstorehandler.cpp +++ b/src/net/tmwa/buyingstorehandler.cpp @@ -57,4 +57,12 @@ void BuyingStoreHandler::open(const Being *const being A_UNUSED) const { } +void BuyingStoreHandler::sell(const Being *const being A_UNUSED, + const int storeId A_UNUSED, + const int index A_UNUSED, + const int itemId A_UNUSED, + const int amount A_UNUSED) const +{ +} + } // namespace TmwAthena diff --git a/src/net/tmwa/buyingstorehandler.h b/src/net/tmwa/buyingstorehandler.h index 205e30ecc..2eb965783 100644 --- a/src/net/tmwa/buyingstorehandler.h +++ b/src/net/tmwa/buyingstorehandler.h @@ -46,6 +46,12 @@ class BuyingStoreHandler final : public MessageHandler, void close() const override final; void open(const Being *const being) const override final; + + void sell(const Being *const being, + const int storeId, + const int index, + const int itemId, + const int amount) const override final; }; } // namespace TmwAthena -- cgit v1.2.3-70-g09d2