diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-05 12:00:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-05 12:00:20 +0300 |
commit | 805299e4d653440c582f6c576bcd7de2e1b2c3d4 (patch) | |
tree | a85f217a0530e536cb1483360bea2df0cad0e213 /src/net/buyingstorehandler.h | |
parent | 527d9d1aea2b840e98dd0976f7bd3426703a886a (diff) | |
download | mv-805299e4d653440c582f6c576bcd7de2e1b2c3d4.tar.gz mv-805299e4d653440c582f6c576bcd7de2e1b2c3d4.tar.bz2 mv-805299e4d653440c582f6c576bcd7de2e1b2c3d4.tar.xz mv-805299e4d653440c582f6c576bcd7de2e1b2c3d4.zip |
eathena: add packet CMSG_BUYINGSTORE_CREATE 0x0815.
Diffstat (limited to 'src/net/buyingstorehandler.h')
-rw-r--r-- | src/net/buyingstorehandler.h | 8 |
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 |