diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-11 19:52:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-11 19:52:27 +0300 |
commit | bde03f8dc53a64ac43b84cab4cc7b7b5f6bf4f48 (patch) | |
tree | 5165f4faf0f911c9900171bdf714fcf070cc5a13 /src/net/tmwa | |
parent | 0210c6c6358fa4664b935e4345c96f752b03776c (diff) | |
download | plus-bde03f8dc53a64ac43b84cab4cc7b7b5f6bf4f48.tar.gz plus-bde03f8dc53a64ac43b84cab4cc7b7b5f6bf4f48.tar.bz2 plus-bde03f8dc53a64ac43b84cab4cc7b7b5f6bf4f48.tar.xz plus-bde03f8dc53a64ac43b84cab4cc7b7b5f6bf4f48.zip |
Add packet CMSG_MAIL2_SEND_MAIL 0x09ec.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/mail2handler.cpp | 7 | ||||
-rw-r--r-- | src/net/tmwa/mail2handler.h | 5 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/net/tmwa/mail2handler.cpp b/src/net/tmwa/mail2handler.cpp index daf874448..0913f4c5c 100644 --- a/src/net/tmwa/mail2handler.cpp +++ b/src/net/tmwa/mail2handler.cpp @@ -49,4 +49,11 @@ void Mail2Handler::removeItem(const Item *const item A_UNUSED, { } +void Mail2Handler::sendMail(const std::string &to A_UNUSED, + const std::string &title A_UNUSED, + const std::string &body A_UNUSED, + const int64_t &money A_UNUSED) const +{ +} + } // namespace TmwAthena diff --git a/src/net/tmwa/mail2handler.h b/src/net/tmwa/mail2handler.h index c0780e128..3c28371bf 100644 --- a/src/net/tmwa/mail2handler.h +++ b/src/net/tmwa/mail2handler.h @@ -42,6 +42,11 @@ class Mail2Handler final : public Net::Mail2Handler void removeItem(const Item *const item, const int amount) const override final; + + void sendMail(const std::string &to, + const std::string &title, + const std::string &body, + const int64_t &money) const override final; }; } // namespace TmwAthena |