From c90e9f42da90183a0be9c29a11beec7db606d44f Mon Sep 17 00:00:00 2001 From: zephyrus Date: Sun, 2 Mar 2008 19:07:14 +0000 Subject: - New optimizations for mail system and adjust to use it on Auctions. - Added a Sql patch to clear all deleted mails. (There is no need to keep that data) - Added more code for Auctions. Not implemented but just for study. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12278 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/common/mmo.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/common') diff --git a/src/common/mmo.h b/src/common/mmo.h index dc5931166..2ffcc33c8 100644 --- a/src/common/mmo.h +++ b/src/common/mmo.h @@ -244,9 +244,6 @@ enum mail_status { MAIL_NEW, MAIL_UNREAD, MAIL_READ, - MAIL_DELETED, - MAIL_RETURNED, - MAIL_INVALID, }; struct mail_message { @@ -283,9 +280,8 @@ struct auction_data { unsigned short hours; unsigned int price, buynow; - unsigned int timestamp; - - bool changed; // To know if data have been changed for save + unsigned int timestamp; // auction's end time + int auction_end_timer; }; struct registry { -- cgit v1.2.3-70-g09d2