summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-05 22:58:06 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-05 22:58:06 +0300
commitbc815d9c4667734c9855a83e71d963c3bd740145 (patch)
tree39e05368d9c584b2799af6af1a6f97b70f7fc074 /src/net/tmwa
parent037a653c92fca6e34f6f27c05efe70b8d4d95178 (diff)
downloadmv-bc815d9c4667734c9855a83e71d963c3bd740145.tar.gz
mv-bc815d9c4667734c9855a83e71d963c3bd740145.tar.bz2
mv-bc815d9c4667734c9855a83e71d963c3bd740145.tar.xz
mv-bc815d9c4667734c9855a83e71d963c3bd740145.zip
eathena: add packet CMSG_BUYINGSTORE_SELL 0x0811.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/buyingstorehandler.cpp8
-rw-r--r--src/net/tmwa/buyingstorehandler.h6
2 files changed, 14 insertions, 0 deletions
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