summaryrefslogtreecommitdiff
path: root/src/gui/mailmessage.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-26 22:31:15 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-26 22:31:15 +0300
commitf09d4ac3ad9d6a162c83a8148d82a50b12b0d80c (patch)
tree8e3bb0a55a73b7f480a80d32514154f0a3d1b5f5 /src/gui/mailmessage.h
parent65411bf4ffa75a8bc143e37a4cfbe65fb14c6f05 (diff)
downloadmanaverse-f09d4ac3ad9d6a162c83a8148d82a50b12b0d80c.tar.gz
manaverse-f09d4ac3ad9d6a162c83a8148d82a50b12b0d80c.tar.bz2
manaverse-f09d4ac3ad9d6a162c83a8148d82a50b12b0d80c.tar.xz
manaverse-f09d4ac3ad9d6a162c83a8148d82a50b12b0d80c.zip
Remove unused fields from MailMessage struct.
Diffstat (limited to 'src/gui/mailmessage.h')
-rw-r--r--src/gui/mailmessage.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/src/gui/mailmessage.h b/src/gui/mailmessage.h
index 70ad038fa..b1940c5e9 100644
--- a/src/gui/mailmessage.h
+++ b/src/gui/mailmessage.h
@@ -21,8 +21,6 @@
#ifndef GUI_MAILMESSAGE_H
#define GUI_MAILMESSAGE_H
-#include "const/resources/item/cards.h"
-
#include "enums/net/mailmessagetype.h"
#include <string>
@@ -40,17 +38,9 @@ struct MailMessage final
time(0),
expireTime(0),
money(0),
- itemAmount(0),
- itemId(0),
- itemType(0),
type(MailMessageType::Text),
- itemAttribute(0U),
- itemRefine(0U),
- read(false),
- itemIdentify(false)
+ read(false)
{
- for (int f = 0; f < 4; f ++)
- card[f] = 0;
}
A_DELETE_COPY(MailMessage)
@@ -59,18 +49,11 @@ struct MailMessage final
std::string sender;
std::string strTime;
std::string text;
- uint16_t card[maxMailCards];
int64_t id;
int time;
int expireTime;
int money;
- int itemAmount;
- int itemId;
- int itemType;
MailMessageType::Type type;
- uint8_t itemAttribute;
- uint8_t itemRefine;
bool read;
- bool itemIdentify;
};
#endif // GUI_MAILMESSAGE_H