From 4ecca0e292aafef33fe168d59c1a4e013cc0cda6 Mon Sep 17 00:00:00 2001 From: zephyrus Date: Sat, 27 Oct 2007 06:34:04 +0000 Subject: - 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 --- src/common/mmo.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/common') 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; @@ -415,6 +415,16 @@ enum { GBI_SKILLLV, // ギルドスキルLv }; +enum { + MAIL_UNVERIFIED = -1, + MAIL_NEW, + MAIL_UNREAD, + MAIL_READED, + MAIL_DELETED, + MAIL_RETURNED, + MAIL_INVALID, +}; + enum { GMI_POSITION =0, // メンバーの役職変更 GMI_EXP, -- cgit v1.2.3-70-g09d2