summaryrefslogtreecommitdiff
path: root/src/gui/mailmessage.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-25 03:49:54 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-25 03:49:54 +0300
commitd11a1f693cd1c43c4d1977f65ef16eba11d872b1 (patch)
tree8b03625817f2ecc09b4145f321d63845a12d6fa3 /src/gui/mailmessage.h
parentb68c40d34eecf9da09a00101286b046d93927161 (diff)
downloadmv-d11a1f693cd1c43c4d1977f65ef16eba11d872b1.tar.gz
mv-d11a1f693cd1c43c4d1977f65ef16eba11d872b1.tar.bz2
mv-d11a1f693cd1c43c4d1977f65ef16eba11d872b1.tar.xz
mv-d11a1f693cd1c43c4d1977f65ef16eba11d872b1.zip
Show message information in mail list.
Show signs for item and money.
Diffstat (limited to 'src/gui/mailmessage.h')
-rw-r--r--src/gui/mailmessage.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/mailmessage.h b/src/gui/mailmessage.h
index b5ce75612..0f6d4f6b5 100644
--- a/src/gui/mailmessage.h
+++ b/src/gui/mailmessage.h
@@ -23,6 +23,8 @@
#include "const/resources/item/cards.h"
+#include "enums/net/mailmessagetype.h"
+
#include <string>
#include "localconsts.h"
@@ -41,9 +43,9 @@ struct MailMessage final
itemAmount(0),
itemId(0),
itemType(0),
+ type(MailMessageType::Text),
itemAttribute(0U),
itemRefine(0U),
- type(0U),
read(false),
itemIdentify(false)
{
@@ -65,9 +67,9 @@ struct MailMessage final
int itemAmount;
int itemId;
int itemType;
+ MailMessageType::Type type;
uint8_t itemAttribute;
uint8_t itemRefine;
- uint8_t type;
bool read;
bool itemIdentify;
};