diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-19 17:33:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-19 17:33:16 +0300 |
commit | b7addc0a9a519cf9dcc3e804d9918ce4934a3e83 (patch) | |
tree | eed5cd349f7e9db512fd1e940ed7b070df1c6a35 /src/net/eathena/bankhandler.cpp | |
parent | 403792db7d005066273bcbe138afcd1a98b3144c (diff) | |
download | mv-b7addc0a9a519cf9dcc3e804d9918ce4934a3e83.tar.gz mv-b7addc0a9a519cf9dcc3e804d9918ce4934a3e83.tar.bz2 mv-b7addc0a9a519cf9dcc3e804d9918ce4934a3e83.tar.xz mv-b7addc0a9a519cf9dcc3e804d9918ce4934a3e83.zip |
Add comments for all output packets header.
Diffstat (limited to 'src/net/eathena/bankhandler.cpp')
-rw-r--r-- | src/net/eathena/bankhandler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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"); } |