summaryrefslogtreecommitdiff
path: root/src/net/buyingstorehandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-05 21:26:25 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-05 21:26:25 +0300
commit6998289cd1f4650ad686731c6925e05b4c9fb82a (patch)
tree113bc202448d787bc87d564efebf1bdaa7015ee4 /src/net/buyingstorehandler.h
parentb99884f2536ee8c850f9957dac0ef73043693f92 (diff)
downloadmv-6998289cd1f4650ad686731c6925e05b4c9fb82a.tar.gz
mv-6998289cd1f4650ad686731c6925e05b4c9fb82a.tar.bz2
mv-6998289cd1f4650ad686731c6925e05b4c9fb82a.tar.xz
mv-6998289cd1f4650ad686731c6925e05b4c9fb82a.zip
eathena: add packet CMSG_BUYINGSTORE_OPEN 0x0360.
Diffstat (limited to 'src/net/buyingstorehandler.h')
-rw-r--r--src/net/buyingstorehandler.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/buyingstorehandler.h b/src/net/buyingstorehandler.h
index ac153b790..984fd0d98 100644
--- a/src/net/buyingstorehandler.h
+++ b/src/net/buyingstorehandler.h
@@ -26,6 +26,7 @@
#include "localconsts.h"
+class Being;
class ShopItem;
namespace Net
@@ -37,10 +38,13 @@ class BuyingStoreHandler notfinal
virtual ~BuyingStoreHandler()
{ }
+ virtual void open(const Being *const being) const = 0;
+
virtual void create(const std::string &name,
const int maxMoney,
const bool flag,
std::vector<ShopItem*> &items) const = 0;
+
virtual void close() const = 0;
};