diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-23 01:12:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-23 01:12:26 +0300 |
commit | 75604ffe8c2ef1f2d76a44dc30e8a257b695daf5 (patch) | |
tree | 5cb43dcb41627d3313ba3d2a371b1a597fd3bab5 /src/net/eathena/mail2recv.h | |
parent | 17e9519c2ee0b126db5ba1df61dcddf9f7b90b47 (diff) | |
download | plus-75604ffe8c2ef1f2d76a44dc30e8a257b695daf5.tar.gz plus-75604ffe8c2ef1f2d76a44dc30e8a257b695daf5.tar.bz2 plus-75604ffe8c2ef1f2d76a44dc30e8a257b695daf5.tar.xz plus-75604ffe8c2ef1f2d76a44dc30e8a257b695daf5.zip |
Add ability to send new mail by /sendmail chat command.
Diffstat (limited to 'src/net/eathena/mail2recv.h')
-rw-r--r-- | src/net/eathena/mail2recv.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/eathena/mail2recv.h b/src/net/eathena/mail2recv.h index 99c88647a..dd867618e 100644 --- a/src/net/eathena/mail2recv.h +++ b/src/net/eathena/mail2recv.h @@ -21,6 +21,10 @@ #ifndef NET_EATHENA_MAIL2RECV_H #define NET_EATHENA_MAIL2RECV_H +#include "resources/mailqueue.h" + +#include <queue> + namespace Net { class MessageIn; @@ -30,6 +34,8 @@ namespace EAthena { namespace Mail2Recv { + extern std::queue<MailQueue*> mMailQueue; + void processMailIcon(Net::MessageIn &msg); void processOpenNewMailWindow(Net::MessageIn &msg); void processAddItemResult(Net::MessageIn &msg); |