summaryrefslogtreecommitdiff
path: root/src/net/eathena/mail2recv.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/eathena/mail2recv.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/eathena/mail2recv.h')
-rw-r--r--src/net/eathena/mail2recv.h6
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);