summaryrefslogtreecommitdiff
path: root/src/net/eathena/bankhandler.cpp
diff options
context:
space:
mode:
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