summaryrefslogtreecommitdiff
path: root/src/net/buyingstorehandler.h
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/buyingstorehandler.h
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/buyingstorehandler.h')
-rw-r--r--src/net/buyingstorehandler.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/buyingstorehandler.h b/src/net/buyingstorehandler.h
index 984fd0d98..856f2ad3d 100644
--- a/src/net/buyingstorehandler.h
+++ b/src/net/buyingstorehandler.h
@@ -46,6 +46,12 @@ class BuyingStoreHandler notfinal
std::vector<ShopItem*> &items) const = 0;
virtual void close() const = 0;
+
+ virtual void sell(const Being *const being,
+ const int storeId,
+ const int index,
+ const int itemId,
+ const int amount) const = 0;
};
} // namespace Net