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/mailhandler.h | |
parent | d23ec275ea4b350dc616e592714724d66de4599a (diff) | |
download | manaplus-42407f169ac67d375cba959bc553ffc186436cba.tar.gz manaplus-42407f169ac67d375cba959bc553ffc186436cba.tar.bz2 manaplus-42407f169ac67d375cba959bc553ffc186436cba.tar.xz manaplus-42407f169ac67d375cba959bc553ffc186436cba.zip |
eathena: add packet CMSG_MAIL_SEND 0x0248.
Diffstat (limited to 'src/net/mailhandler.h')
-rw-r--r-- | src/net/mailhandler.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/mailhandler.h b/src/net/mailhandler.h index 3ceb7625f..70b5796b7 100644 --- a/src/net/mailhandler.h +++ b/src/net/mailhandler.h @@ -21,6 +21,8 @@ #ifndef NET_MAILHANDLER_H #define NET_MAILHANDLER_H +#include <string> + #include "localconsts.h" namespace Net @@ -45,6 +47,10 @@ class MailHandler notfinal virtual void setAttach(const int index, const int amount) = 0; virtual void resetAttach(const int flag) = 0; + + virtual void send(const std::string &name, + const std::string &title, + std::string message) = 0; }; } // namespace Net |