summaryrefslogtreecommitdiff
path: root/src/net/eathena/vendinghandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/vendinghandler.cpp')
-rw-r--r--src/net/eathena/vendinghandler.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/net/eathena/vendinghandler.cpp b/src/net/eathena/vendinghandler.cpp
index 8f02e4f72..991bcdf10 100644
--- a/src/net/eathena/vendinghandler.cpp
+++ b/src/net/eathena/vendinghandler.cpp
@@ -74,6 +74,10 @@ void VendingHandler::handleMessage(Net::MessageIn &msg)
processOpen(msg);
break;
+ case SMSG_VENDING_REPORT:
+ processReport(msg);
+ break;
+
default:
break;
}
@@ -141,4 +145,10 @@ void VendingHandler::processOpen(Net::MessageIn &msg)
}
}
+void VendingHandler::processReport(Net::MessageIn &msg)
+{
+ msg.readInt16("inv index");
+ msg.readInt16("amount");
+}
+
} // namespace EAthena