diff options
Diffstat (limited to 'src/net/eathena/bankhandler.cpp')
-rw-r--r-- | src/net/eathena/bankhandler.cpp | 7 |
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 |