summaryrefslogtreecommitdiff
path: root/src/net/buyingstorehandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-05 12:00:20 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-05 12:00:20 +0300
commit805299e4d653440c582f6c576bcd7de2e1b2c3d4 (patch)
treea85f217a0530e536cb1483360bea2df0cad0e213 /src/net/buyingstorehandler.h
parent527d9d1aea2b840e98dd0976f7bd3426703a886a (diff)
downloadmanaverse-805299e4d653440c582f6c576bcd7de2e1b2c3d4.tar.gz
manaverse-805299e4d653440c582f6c576bcd7de2e1b2c3d4.tar.bz2
manaverse-805299e4d653440c582f6c576bcd7de2e1b2c3d4.tar.xz
manaverse-805299e4d653440c582f6c576bcd7de2e1b2c3d4.zip
eathena: add packet CMSG_BUYINGSTORE_CREATE 0x0815.
Diffstat (limited to 'src/net/buyingstorehandler.h')
-rw-r--r--src/net/buyingstorehandler.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/net/buyingstorehandler.h b/src/net/buyingstorehandler.h
index 8f78cab9a..bc7f6177c 100644
--- a/src/net/buyingstorehandler.h
+++ b/src/net/buyingstorehandler.h
@@ -22,9 +22,12 @@
#define NET_BUYINGSTOREHANDLER_H
#include <string>
+#include <vector>
#include "localconsts.h"
+class ShopItem;
+
namespace Net
{
@@ -33,6 +36,11 @@ class BuyingStoreHandler notfinal
public:
virtual ~BuyingStoreHandler()
{ }
+
+ virtual void create(const std::string &name,
+ const int maxMoney,
+ const bool flag,
+ std::vector<ShopItem*> &items) const = 0;
};
} // namespace Net