diff options
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/bankhandler.cpp | 6 | ||||
-rw-r--r-- | src/net/eathena/bankhandler.h | 2 | ||||
-rw-r--r-- | src/net/eathena/protocol.h | 1 |
3 files changed, 9 insertions, 0 deletions
diff --git a/src/net/eathena/bankhandler.cpp b/src/net/eathena/bankhandler.cpp index 1d7116004..bc393faa1 100644 --- a/src/net/eathena/bankhandler.cpp +++ b/src/net/eathena/bankhandler.cpp @@ -68,4 +68,10 @@ void BankHandler::withdraw(const int money) const outMsg.writeInt32(money, "money"); } +void BankHandler::check() const +{ + MessageOut outMsg(CMSG_BANK_CHECK); + outMsg.writeInt32(0, "account id"); +} + } // namespace EAthena diff --git a/src/net/eathena/bankhandler.h b/src/net/eathena/bankhandler.h index 601af27c2..bd5e81edd 100644 --- a/src/net/eathena/bankhandler.h +++ b/src/net/eathena/bankhandler.h @@ -42,6 +42,8 @@ class BankHandler final : public MessageHandler, void deposit(const int money) const override final; void withdraw(const int money) const override final; + + void check() const override final; }; } // namespace EAthena diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h index 64a5a5cc7..a7108e777 100644 --- a/src/net/eathena/protocol.h +++ b/src/net/eathena/protocol.h @@ -388,6 +388,7 @@ #define CMSG_BANK_DEPOSIT 0x09a7 #define CMSG_BANK_WITHDRAW 0x09a9 +#define CMSG_BANK_CHECK 0x09ab #define SMSG_SOLVE_CHAR_NAME 0x0194 #define SMSG_SKILL_CASTING 0x07fb |