summaryrefslogtreecommitdiff
path: root/src/gui/mailmessage.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-28 00:56:19 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-29 14:10:27 +0300
commit65d433a88afd4106e86c19eb438efbe1a1925de8 (patch)
tree86fa7547e801e7ced3cbfce7a247029db89c5490 /src/gui/mailmessage.h
parent2761e46993448da413c9da193f0bbc1c89fc1a85 (diff)
downloadmanaplus-65d433a88afd4106e86c19eb438efbe1a1925de8.tar.gz
manaplus-65d433a88afd4106e86c19eb438efbe1a1925de8.tar.bz2
manaplus-65d433a88afd4106e86c19eb438efbe1a1925de8.tar.xz
manaplus-65d433a88afd4106e86c19eb438efbe1a1925de8.zip
eathena: impliment packet SMSG_MAIL_READ_MAIL.
Diffstat (limited to 'src/gui/mailmessage.h')
-rw-r--r--src/gui/mailmessage.h21
1 files changed, 20 insertions, 1 deletions
diff --git a/src/gui/mailmessage.h b/src/gui/mailmessage.h
index 0558448b3..ce121963f 100644
--- a/src/gui/mailmessage.h
+++ b/src/gui/mailmessage.h
@@ -29,10 +29,20 @@ struct MailMessage final
title(),
sender(),
strTime(),
+ text(),
id(0),
time(0),
- unread(false)
+ money(0),
+ itemAmount(0),
+ itemId(0),
+ itemType(0),
+ itemAttribute(0U),
+ itemRefine(0U),
+ unread(false),
+ itemIdentify(false)
{
+ for (int f = 0; f < 4; f ++)
+ card[f] = 0;
}
A_DELETE_COPY(MailMessage)
@@ -40,8 +50,17 @@ struct MailMessage final
std::string title;
std::string sender;
std::string strTime;
+ std::string text;
+ uint16_t card[4];
int id;
int time;
+ int money;
+ int itemAmount;
+ int itemId;
+ int itemType;
+ uint8_t itemAttribute;
+ uint8_t itemRefine;
bool unread;
+ bool itemIdentify;
};
#endif // GUI_MAILMESSAGE_H