summaryrefslogtreecommitdiff
path: root/src/gui/mailmessage.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-25 03:10:19 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-25 03:10:19 +0300
commitb68c40d34eecf9da09a00101286b046d93927161 (patch)
tree3a72009efde8295d85309b77abe1df9b5e9d5ec7 /src/gui/mailmessage.h
parent82e3927dd6a1e7c035cda8c88a1287834367b95f (diff)
downloadmanaverse-b68c40d34eecf9da09a00101286b046d93927161.tar.gz
manaverse-b68c40d34eecf9da09a00101286b046d93927161.tar.bz2
manaverse-b68c40d34eecf9da09a00101286b046d93927161.tar.xz
manaverse-b68c40d34eecf9da09a00101286b046d93927161.zip
Add support for show mail list for new mail system.
Diffstat (limited to 'src/gui/mailmessage.h')
-rw-r--r--src/gui/mailmessage.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gui/mailmessage.h b/src/gui/mailmessage.h
index c7aaf1cc7..b5ce75612 100644
--- a/src/gui/mailmessage.h
+++ b/src/gui/mailmessage.h
@@ -36,13 +36,15 @@ struct MailMessage final
text(),
id(0),
time(0),
+ expireTime(0),
money(0),
itemAmount(0),
itemId(0),
itemType(0),
itemAttribute(0U),
itemRefine(0U),
- unread(false),
+ type(0U),
+ read(false),
itemIdentify(false)
{
for (int f = 0; f < 4; f ++)
@@ -58,13 +60,15 @@ struct MailMessage final
uint16_t card[maxMailCards];
int id;
int time;
+ int expireTime;
int money;
int itemAmount;
int itemId;
int itemType;
uint8_t itemAttribute;
uint8_t itemRefine;
- bool unread;
+ uint8_t type;
+ bool read;
bool itemIdentify;
};
#endif // GUI_MAILMESSAGE_H