From b7addc0a9a519cf9dcc3e804d9918ce4934a3e83 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 19 Sep 2014 17:33:16 +0300 Subject: Add comments for all output packets header. --- src/net/eathena/bankhandler.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/net/eathena/bankhandler.cpp') diff --git a/src/net/eathena/bankhandler.cpp b/src/net/eathena/bankhandler.cpp index 7b4d849dd..352aca54e 100644 --- a/src/net/eathena/bankhandler.cpp +++ b/src/net/eathena/bankhandler.cpp @@ -61,21 +61,21 @@ void BankHandler::handleMessage(Net::MessageIn &msg) void BankHandler::deposit(const int money) const { - MessageOut outMsg(CMSG_BANK_DEPOSIT); + createOutPacket(CMSG_BANK_DEPOSIT); outMsg.writeInt32(0, "account id"); outMsg.writeInt32(money, "money"); } void BankHandler::withdraw(const int money) const { - MessageOut outMsg(CMSG_BANK_WITHDRAW); + createOutPacket(CMSG_BANK_WITHDRAW); outMsg.writeInt32(0, "account id"); outMsg.writeInt32(money, "money"); } void BankHandler::check() const { - MessageOut outMsg(CMSG_BANK_CHECK); + createOutPacket(CMSG_BANK_CHECK); outMsg.writeInt32(0, "account id"); } -- cgit v1.2.3-70-g09d2