From c14faa2c92a458259abfa14a71e7c05bbdc08027 Mon Sep 17 00:00:00 2001 From: zephyrus Date: Fri, 29 Feb 2008 23:10:29 +0000 Subject: - Starting preparatives for Auctions System. - Added the @auction command to open the auctions. Just to start working on it and if someone wants to help. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12270 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/common/mmo.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/common/mmo.h') diff --git a/src/common/mmo.h b/src/common/mmo.h index ead8c8379..dc5931166 100644 --- a/src/common/mmo.h +++ b/src/common/mmo.h @@ -272,6 +272,22 @@ struct mail_data { struct mail_message msg[MAIL_MAX_INBOX]; }; +struct auction_data { + unsigned int auction_id; + int seller_id; + char seller_name[NAME_LENGTH]; + int buyer_id; + char buyer_name[NAME_LENGTH]; + + struct item item; + + unsigned short hours; + unsigned int price, buynow; + unsigned int timestamp; + + bool changed; // To know if data have been changed for save +}; + struct registry { int global_num; struct global_reg global[GLOBAL_REG_NUM]; -- cgit v1.2.3-60-g2f50