diff options
Diffstat (limited to 'src/net/eathena/vendinghandler.cpp')
-rw-r--r-- | src/net/eathena/vendinghandler.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/net/eathena/vendinghandler.cpp b/src/net/eathena/vendinghandler.cpp index 079dde1e2..27a43200f 100644 --- a/src/net/eathena/vendinghandler.cpp +++ b/src/net/eathena/vendinghandler.cpp @@ -59,6 +59,8 @@ VendingHandler::VendingHandler() : SMSG_VENDING_ITEMS_LIST, SMSG_VENDING_BUY_ACK, SMSG_VENDING_OPEN, + SMSG_VENDING_REPORT, + SMSG_VENDING_OPEN_STATUS, 0 }; handledMessages = _messages; @@ -98,6 +100,10 @@ void VendingHandler::handleMessage(Net::MessageIn &msg) processReport(msg); break; + case SMSG_VENDING_OPEN_STATUS: + processOpenStatus(msg); + break; + default: break; } @@ -198,6 +204,12 @@ void VendingHandler::processReport(Net::MessageIn &msg) msg.readInt16("amount"); } +void VendingHandler::processOpenStatus(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + msg.readUInt8("result"); +} + void VendingHandler::close() const { createOutPacket(CMSG_VENDING_CLOSE); |