summaryrefslogtreecommitdiff
path: root/src/net/mail2handler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-23 01:12:26 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-23 01:12:26 +0300
commit75604ffe8c2ef1f2d76a44dc30e8a257b695daf5 (patch)
tree5cb43dcb41627d3313ba3d2a371b1a597fd3bab5 /src/net/mail2handler.h
parent17e9519c2ee0b126db5ba1df61dcddf9f7b90b47 (diff)
downloadmanaverse-75604ffe8c2ef1f2d76a44dc30e8a257b695daf5.tar.gz
manaverse-75604ffe8c2ef1f2d76a44dc30e8a257b695daf5.tar.bz2
manaverse-75604ffe8c2ef1f2d76a44dc30e8a257b695daf5.tar.xz
manaverse-75604ffe8c2ef1f2d76a44dc30e8a257b695daf5.zip
Add ability to send new mail by /sendmail chat command.
Diffstat (limited to 'src/net/mail2handler.h')
-rw-r--r--src/net/mail2handler.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/mail2handler.h b/src/net/mail2handler.h
index 3b04fb464..2fd0f594c 100644
--- a/src/net/mail2handler.h
+++ b/src/net/mail2handler.h
@@ -56,6 +56,11 @@ class Mail2Handler notfinal
const std::string &body,
const int64_t &money) const = 0;
+ virtual bool queueSendMail(const std::string &to,
+ const std::string &title,
+ const std::string &body,
+ const int64_t &money) const = 0;
+
virtual void nextPage(const MailOpenTypeT openType,
const int64_t mailId) const = 0;