summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-27 06:34:04 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-27 06:34:04 +0000
commit4ecca0e292aafef33fe168d59c1a4e013cc0cda6 (patch)
tree2650049dac1a64dc378a304c0f203380cfdd0cc8 /src/common
parent70d0ca7c1690136a8407bbe78dc4b9686a96c539 (diff)
downloadhercules-4ecca0e292aafef33fe168d59c1a4e013cc0cda6.tar.gz
hercules-4ecca0e292aafef33fe168d59c1a4e013cc0cda6.tar.bz2
hercules-4ecca0e292aafef33fe168d59c1a4e013cc0cda6.tar.xz
hercules-4ecca0e292aafef33fe168d59c1a4e013cc0cda6.zip
- Improvements to the mail system.
- Added a sql patch, renaming "read_flag" column to "status" on the mail db. - Need more testing. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11583 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common')
-rw-r--r--src/common/mmo.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h
index e9f3a80a5..d455e9124 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -250,7 +250,7 @@ struct mail_message {
char title[MAIL_TITLE_LENGTH];
char body[MAIL_BODY_LENGTH];
- unsigned char read;
+ short status;
unsigned int timestamp; // marks when the message was sent
int zeny;
@@ -416,6 +416,16 @@ enum {
};
enum {
+ MAIL_UNVERIFIED = -1,
+ MAIL_NEW,
+ MAIL_UNREAD,
+ MAIL_READED,
+ MAIL_DELETED,
+ MAIL_RETURNED,
+ MAIL_INVALID,
+};
+
+enum {
GMI_POSITION =0, // メンバーの役職変更
GMI_EXP,
GMI_HAIR,