diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-07 14:02:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-07 14:02:51 +0300 |
commit | 9d195207af67df767233ff6128f5b1df0421f83e (patch) | |
tree | 2251ed2b3c1c1c79ac34d5d11eca18ef07c87206 /src/net/eathena/vendinghandler.cpp | |
parent | 29a7ea1d119f87b381dc36c5be3726dbd3fae92d (diff) | |
download | mv-9d195207af67df767233ff6128f5b1df0421f83e.tar.gz mv-9d195207af67df767233ff6128f5b1df0421f83e.tar.bz2 mv-9d195207af67df767233ff6128f5b1df0421f83e.tar.xz mv-9d195207af67df767233ff6128f5b1df0421f83e.zip |
eathena: add packet CMSG_VENDING_CLOSE 0x012e.
Diffstat (limited to 'src/net/eathena/vendinghandler.cpp')
-rw-r--r-- | src/net/eathena/vendinghandler.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/eathena/vendinghandler.cpp b/src/net/eathena/vendinghandler.cpp index 991bcdf10..dd1d7e7cc 100644 --- a/src/net/eathena/vendinghandler.cpp +++ b/src/net/eathena/vendinghandler.cpp @@ -20,6 +20,7 @@ #include "net/eathena/vendinghandler.h" +#include "net/eathena/messageout.h" #include "net/eathena/protocol.h" #include "debug.h" @@ -151,4 +152,9 @@ void VendingHandler::processReport(Net::MessageIn &msg) msg.readInt16("amount"); } +void VendingHandler::close() const +{ + createOutPacket(CMSG_VENDING_CLOSE); +} + } // namespace EAthena |