summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-03-05 17:09:47 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-03-05 17:09:47 +0000
commitb81ff1c3772fddc5885042a29d8b8ece39a4629a (patch)
tree055aa194633551bb98dbfc83352079a3f4512816 /src/common
parent0a21b3250da89a79769f40ad8244de7898e549fe (diff)
downloadhercules-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')
-rw-r--r--src/common/mmo.h19
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;