summaryrefslogtreecommitdiff
path: root/src/net/vendinghandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-07 16:55:08 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-07 17:01:49 +0300
commit3b96653ddb43f1d02979ebb92fb3b08f39a5aa68 (patch)
tree5972d0f6431bb0078d769c8c19a6287de522cce8 /src/net/vendinghandler.h
parent64ed5cd18dca0d5eb08302d552a09f03d9ceeb10 (diff)
downloadplus-3b96653ddb43f1d02979ebb92fb3b08f39a5aa68.tar.gz
plus-3b96653ddb43f1d02979ebb92fb3b08f39a5aa68.tar.bz2
plus-3b96653ddb43f1d02979ebb92fb3b08f39a5aa68.tar.xz
plus-3b96653ddb43f1d02979ebb92fb3b08f39a5aa68.zip
eathena: add packet CMSG_VENDING_CREATE_SHOP 0x01b2.
Diffstat (limited to 'src/net/vendinghandler.h')
-rw-r--r--src/net/vendinghandler.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/vendinghandler.h b/src/net/vendinghandler.h
index c8eed3bd3..797ef8340 100644
--- a/src/net/vendinghandler.h
+++ b/src/net/vendinghandler.h
@@ -22,10 +22,12 @@
#define NET_VENDINGHANDLER_H
#include <string>
+#include <vector>
#include "localconsts.h"
class Being;
+class ShopItem;
namespace Net
{
@@ -48,6 +50,10 @@ class VendingHandler notfinal
const int vendId,
const int index,
const int amount) const = 0;
+
+ virtual void createShop(const std::string &name,
+ const bool flag,
+ std::vector<ShopItem*> &items) const = 0;
};
} // namespace Net