From b81ff1c3772fddc5885042a29d8b8ece39a4629a Mon Sep 17 00:00:00 2001 From: zephyrus Date: Wed, 5 Mar 2008 17:09:47 +0000 Subject: - Merged Auction Search and Register. It seen to work fine, so you can test those. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12301 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/common/mmo.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'src/common/mmo.h') diff --git a/src/common/mmo.h b/src/common/mmo.h index 2ffcc33c8..6b6dfca7d 100644 --- a/src/common/mmo.h +++ b/src/common/mmo.h @@ -107,6 +107,22 @@ #define MAIL_TITLE_LENGTH 40 #define MAIL_BODY_LENGTH 200 +enum item_types { + IT_HEALING = 0, + IT_UNKNOWN, //1 + IT_USABLE, //2 + IT_ETC, //3 + IT_WEAPON, //4 + IT_ARMOR, //5 + IT_CARD, //6 + IT_PETEGG, //7 + IT_PETARMOR,//8 + IT_UNKNOWN2,//9 + IT_AMMO, //10 + IT_DELAYCONSUME,//11 + IT_MAX +}; + struct item { int id; short nameid; @@ -277,6 +293,9 @@ struct auction_data { char buyer_name[NAME_LENGTH]; struct item item; + // This data is required for searching, as itemdb is not read by char server + char item_name[ITEM_NAME_LENGTH]; + short type; unsigned short hours; unsigned int price, buynow; -- cgit v1.2.3-60-g2f50