summaryrefslogtreecommitdiff
path: root/src/net/tmwa
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/tmwa
parent64ed5cd18dca0d5eb08302d552a09f03d9ceeb10 (diff)
downloadmv-3b96653ddb43f1d02979ebb92fb3b08f39a5aa68.tar.gz
mv-3b96653ddb43f1d02979ebb92fb3b08f39a5aa68.tar.bz2
mv-3b96653ddb43f1d02979ebb92fb3b08f39a5aa68.tar.xz
mv-3b96653ddb43f1d02979ebb92fb3b08f39a5aa68.zip
eathena: add packet CMSG_VENDING_CREATE_SHOP 0x01b2.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/vendinghandler.cpp6
-rw-r--r--src/net/tmwa/vendinghandler.h4
2 files changed, 10 insertions, 0 deletions
diff --git a/src/net/tmwa/vendinghandler.cpp b/src/net/tmwa/vendinghandler.cpp
index deff011ca..67e39fd6a 100644
--- a/src/net/tmwa/vendinghandler.cpp
+++ b/src/net/tmwa/vendinghandler.cpp
@@ -63,4 +63,10 @@ void VendingHandler::buy2(const Being *const being A_UNUSED,
{
}
+void VendingHandler::createShop(const std::string &name A_UNUSED,
+ const bool flag A_UNUSED,
+ std::vector<ShopItem*> &items A_UNUSED) const
+{
+}
+
} // namespace TmwAthena
diff --git a/src/net/tmwa/vendinghandler.h b/src/net/tmwa/vendinghandler.h
index f23e8276c..22629be1f 100644
--- a/src/net/tmwa/vendinghandler.h
+++ b/src/net/tmwa/vendinghandler.h
@@ -50,6 +50,10 @@ class VendingHandler final : public MessageHandler,
const int vendId,
const int index,
const int amount) const override final;
+
+ void createShop(const std::string &name,
+ const bool flag,
+ std::vector<ShopItem*> &items) const override final;
};
} // namespace TmwAthena