summaryrefslogtreecommitdiff
path: root/src/net/eathena/bankhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-16 12:56:17 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-16 12:56:17 +0300
commite757d6ff680f06dc9b77d20a1d0dc79515224927 (patch)
tree94b985e36006120758876682980b7e3d98b4aef4 /src/net/eathena/bankhandler.cpp
parent5d3d299e22ddda7700f78a0fd0c915be3788087f (diff)
downloadplus-e757d6ff680f06dc9b77d20a1d0dc79515224927.tar.gz
plus-e757d6ff680f06dc9b77d20a1d0dc79515224927.tar.bz2
plus-e757d6ff680f06dc9b77d20a1d0dc79515224927.tar.xz
plus-e757d6ff680f06dc9b77d20a1d0dc79515224927.zip
eathena: add packet CMSG_BANK_DEPOSIT 0x09a7.
Diffstat (limited to 'src/net/eathena/bankhandler.cpp')
-rw-r--r--src/net/eathena/bankhandler.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/net/eathena/bankhandler.cpp b/src/net/eathena/bankhandler.cpp
index c8962bb02..32e5ecd06 100644
--- a/src/net/eathena/bankhandler.cpp
+++ b/src/net/eathena/bankhandler.cpp
@@ -54,4 +54,11 @@ void BankHandler::handleMessage(Net::MessageIn &msg)
}
}
+void BankHandler::deposit(const int money) const
+{
+ MessageOut outMsg(CMSG_BANK_DEPOSIT);
+ outMsg.writeInt32(0, "account id");
+ outMsg.writeInt32(money, "money");
+}
+
} // namespace EAthena