diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-07 14:42:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-07 15:26:06 +0300 |
commit | 9f37c6e32dedd9b91aae09038de5e3fa1ab84513 (patch) | |
tree | 56367610011c7c5fe741b56b5afdb732eb66be62 /src/net/vendinghandler.h | |
parent | f52847a08113f09459d620cc5d91193b38d7a064 (diff) | |
download | plus-9f37c6e32dedd9b91aae09038de5e3fa1ab84513.tar.gz plus-9f37c6e32dedd9b91aae09038de5e3fa1ab84513.tar.bz2 plus-9f37c6e32dedd9b91aae09038de5e3fa1ab84513.tar.xz plus-9f37c6e32dedd9b91aae09038de5e3fa1ab84513.zip |
eathena: add packet CMSG_VENDING_BUY 0x0134.
Diffstat (limited to 'src/net/vendinghandler.h')
-rw-r--r-- | src/net/vendinghandler.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/vendinghandler.h b/src/net/vendinghandler.h index fb3ef4b4a..af8f39acc 100644 --- a/src/net/vendinghandler.h +++ b/src/net/vendinghandler.h @@ -39,6 +39,10 @@ class VendingHandler notfinal virtual void close() const = 0; virtual void open(const Being *const being) const = 0; + + virtual void buy(const Being *const being, + const int index, + const int amount) const = 0; }; } // namespace Net |