diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-15 12:55:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-15 12:55:46 +0300 |
commit | 42407f169ac67d375cba959bc553ffc186436cba (patch) | |
tree | c94cd937e34a70ffbae1e88f7b43b44c5d3c8ca2 /src/net/tmwa | |
parent | d23ec275ea4b350dc616e592714724d66de4599a (diff) | |
download | mv-42407f169ac67d375cba959bc553ffc186436cba.tar.gz mv-42407f169ac67d375cba959bc553ffc186436cba.tar.bz2 mv-42407f169ac67d375cba959bc553ffc186436cba.tar.xz mv-42407f169ac67d375cba959bc553ffc186436cba.zip |
eathena: add packet CMSG_MAIL_SEND 0x0248.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/mailhandler.cpp | 6 | ||||
-rw-r--r-- | src/net/tmwa/mailhandler.h | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/net/tmwa/mailhandler.cpp b/src/net/tmwa/mailhandler.cpp index dfd69976d..a80400440 100644 --- a/src/net/tmwa/mailhandler.cpp +++ b/src/net/tmwa/mailhandler.cpp @@ -71,4 +71,10 @@ void MailHandler::resetAttach(const int flag A_UNUSED) { } +void MailHandler::send(const std::string &name A_UNUSED, + const std::string &title A_UNUSED, + std::string message A_UNUSED) +{ +} + } // namespace TmwAthena diff --git a/src/net/tmwa/mailhandler.h b/src/net/tmwa/mailhandler.h index fb0892211..fb90de199 100644 --- a/src/net/tmwa/mailhandler.h +++ b/src/net/tmwa/mailhandler.h @@ -50,6 +50,10 @@ class MailHandler final : public MessageHandler, public Net::MailHandler void setAttach(const int index, const int amount) override final; void resetAttach(const int flag) override final; + + void send(const std::string &name, + const std::string &title, + std::string message) override final; }; } // namespace TmwAthena |