summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-07 14:42:52 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-07 15:26:06 +0300
commit9f37c6e32dedd9b91aae09038de5e3fa1ab84513 (patch)
tree56367610011c7c5fe741b56b5afdb732eb66be62 /src/net/tmwa
parentf52847a08113f09459d620cc5d91193b38d7a064 (diff)
downloadmanaplus-9f37c6e32dedd9b91aae09038de5e3fa1ab84513.tar.gz
manaplus-9f37c6e32dedd9b91aae09038de5e3fa1ab84513.tar.bz2
manaplus-9f37c6e32dedd9b91aae09038de5e3fa1ab84513.tar.xz
manaplus-9f37c6e32dedd9b91aae09038de5e3fa1ab84513.zip
eathena: add packet CMSG_VENDING_BUY 0x0134.
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 b32238c1f..b638ba6ee 100644
--- a/src/net/tmwa/vendinghandler.cpp
+++ b/src/net/tmwa/vendinghandler.cpp
@@ -50,4 +50,10 @@ void VendingHandler::open(const Being *const being A_UNUSED) const
{
}
+void VendingHandler::buy(const Being *const being 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 1bbc42d06..fee23c0be 100644
--- a/src/net/tmwa/vendinghandler.h
+++ b/src/net/tmwa/vendinghandler.h
@@ -41,6 +41,10 @@ class VendingHandler final : public MessageHandler,
void close() const override final;
void open(const Being *const being) const override final;
+
+ void buy(const Being *const being,
+ const int index,
+ const int amount) const override final;
};
} // namespace TmwAthena