summaryrefslogtreecommitdiff
path: root/src/net/eathena/bank.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-23 17:36:35 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-23 17:36:35 +0300
commit5beba12b38c13c222322af111e17ed1aada62daf (patch)
treea0261be40596bc0babdb553d95601f23a35ed421 /src/net/eathena/bank.h
parent6690099a0156a2c842e77bf8bd7a306ee917a74a (diff)
downloadmv-5beba12b38c13c222322af111e17ed1aada62daf.tar.gz
mv-5beba12b38c13c222322af111e17ed1aada62daf.tar.bz2
mv-5beba12b38c13c222322af111e17ed1aada62daf.tar.xz
mv-5beba12b38c13c222322af111e17ed1aada62daf.zip
Move receive code from bankhandler into separate file.
Diffstat (limited to 'src/net/eathena/bank.h')
-rw-r--r--src/net/eathena/bank.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/net/eathena/bank.h b/src/net/eathena/bank.h
new file mode 100644
index 000000000..ffc24a04d
--- /dev/null
+++ b/src/net/eathena/bank.h
@@ -0,0 +1,41 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2011-2015 The ManaPlus Developers
+ *
+ * This file is part of The ManaPlus Client.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef NET_EATHENA_BANK_H
+#define NET_EATHENA_BANK_H
+
+#ifdef EATHENA_SUPPORT
+
+#include "net/bankhandler.h"
+
+#include "net/eathena/messagehandler.h"
+
+namespace EAthena
+{
+ namespace Bank
+ {
+ void processBankStatus(Net::MessageIn &msg);
+ void processBankDeposit(Net::MessageIn &msg);
+ void processBankWithdraw(Net::MessageIn &msg);
+ } // namespace Bank
+} // namespace EAthena
+
+#endif // EATHENA_SUPPORT
+#endif // NET_EATHENA_BANK_H