summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-07 15:34:58 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-07 15:34:58 +0300
commit64ed5cd18dca0d5eb08302d552a09f03d9ceeb10 (patch)
treeb608836a222dc7af4c5d9e4da0af01717ca28b12 /src/net/tmwa
parent9f37c6e32dedd9b91aae09038de5e3fa1ab84513 (diff)
downloadmanaverse-64ed5cd18dca0d5eb08302d552a09f03d9ceeb10.tar.gz
manaverse-64ed5cd18dca0d5eb08302d552a09f03d9ceeb10.tar.bz2
manaverse-64ed5cd18dca0d5eb08302d552a09f03d9ceeb10.tar.xz
manaverse-64ed5cd18dca0d5eb08302d552a09f03d9ceeb10.zip
eathena: add packet CMSG_VENDING_BUY2 0x0801.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/vendinghandler.cpp7
-rw-r--r--src/net/tmwa/vendinghandler.h5
2 files changed, 12 insertions, 0 deletions
diff --git a/src/net/tmwa/vendinghandler.cpp b/src/net/tmwa/vendinghandler.cpp
index b638ba6ee..deff011ca 100644
--- a/src/net/tmwa/vendinghandler.cpp
+++ b/src/net/tmwa/vendinghandler.cpp
@@ -56,4 +56,11 @@ void VendingHandler::buy(const Being *const being A_UNUSED,
{
}
+void VendingHandler::buy2(const Being *const being A_UNUSED,
+ const int vendId A_UNUSED,
+ const int index A_UNUSED,
+ const int amount A_UNUSED) const
+{
+}
+
} // namespace TmwAthena
diff --git a/src/net/tmwa/vendinghandler.h b/src/net/tmwa/vendinghandler.h
index fee23c0be..f23e8276c 100644
--- a/src/net/tmwa/vendinghandler.h
+++ b/src/net/tmwa/vendinghandler.h
@@ -45,6 +45,11 @@ class VendingHandler final : public MessageHandler,
void buy(const Being *const being,
const int index,
const int amount) const override final;
+
+ void buy2(const Being *const being,
+ const int vendId,
+ const int index,
+ const int amount) const override final;
};
} // namespace TmwAthena