summaryrefslogtreecommitdiff
path: root/src/net/eathena/bankhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-16 13:10:02 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-16 13:10:02 +0300
commit4ae1d67a20f63124ee5a7d26a17d0beae523c6a4 (patch)
tree5678000b5ce01f3b1f90e666970ae2167cd409fb /src/net/eathena/bankhandler.cpp
parente757d6ff680f06dc9b77d20a1d0dc79515224927 (diff)
downloadplus-4ae1d67a20f63124ee5a7d26a17d0beae523c6a4.tar.gz
plus-4ae1d67a20f63124ee5a7d26a17d0beae523c6a4.tar.bz2
plus-4ae1d67a20f63124ee5a7d26a17d0beae523c6a4.tar.xz
plus-4ae1d67a20f63124ee5a7d26a17d0beae523c6a4.zip
eathena: add packet CMSG_BANK_WITHDRAW 0x09a9.
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 32e5ecd06..1d7116004 100644
--- a/src/net/eathena/bankhandler.cpp
+++ b/src/net/eathena/bankhandler.cpp
@@ -61,4 +61,11 @@ void BankHandler::deposit(const int money) const
outMsg.writeInt32(money, "money");
}
+void BankHandler::withdraw(const int money) const
+{
+ MessageOut outMsg(CMSG_BANK_WITHDRAW);
+ outMsg.writeInt32(0, "account id");
+ outMsg.writeInt32(money, "money");
+}
+
} // namespace EAthena