diff options
author | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-03-05 17:09:47 +0000 |
---|---|---|
committer | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-03-05 17:09:47 +0000 |
commit | b81ff1c3772fddc5885042a29d8b8ece39a4629a (patch) | |
tree | 055aa194633551bb98dbfc83352079a3f4512816 /src/common/mmo.h | |
parent | 0a21b3250da89a79769f40ad8244de7898e549fe (diff) | |
download | hercules-b81ff1c3772fddc5885042a29d8b8ece39a4629a.tar.gz hercules-b81ff1c3772fddc5885042a29d8b8ece39a4629a.tar.bz2 hercules-b81ff1c3772fddc5885042a29d8b8ece39a4629a.tar.xz hercules-b81ff1c3772fddc5885042a29d8b8ece39a4629a.zip |
- 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
Diffstat (limited to 'src/common/mmo.h')
-rw-r--r-- | src/common/mmo.h | 19 |
1 files changed, 19 insertions, 0 deletions
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; |