summaryrefslogtreecommitdiff
path: root/src/common/mmo.h
diff options
context:
space:
mode:
authorshennetsind <shennetsind@users.noreply.github.com>2013-11-07 11:10:40 -0800
committershennetsind <shennetsind@users.noreply.github.com>2013-11-07 11:10:40 -0800
commit01e4647db2d5c635c7b4447f37663797a3f47b99 (patch)
tree94303465410557176454305aeeab76a13ca8514d /src/common/mmo.h
parent9f32aa958f86a228290c43544c8b9bbf3f1c2cc0 (diff)
parent951b18c97a09426e2f14801263c2fd07efbd46bb (diff)
downloadhercules-01e4647db2d5c635c7b4447f37663797a3f47b99.tar.gz
hercules-01e4647db2d5c635c7b4447f37663797a3f47b99.tar.bz2
hercules-01e4647db2d5c635c7b4447f37663797a3f47b99.tar.xz
hercules-01e4647db2d5c635c7b4447f37663797a3f47b99.zip
Merge pull request #220 from shennetsind/master
mhalicot's Item Bind Pull Request
Diffstat (limited to 'src/common/mmo.h')
-rw-r--r--src/common/mmo.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h
index b1a1caf24..369f5c894 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -223,6 +223,7 @@ struct item {
short card[MAX_SLOTS];
unsigned int expire_time;
char favorite;
+ unsigned char bound;
uint64 unique_id;
};
@@ -249,6 +250,15 @@ enum e_mmo_charstatus_opt {
OPT_ALLOW_PARTY = 0x2,
};
+enum e_item_bound_type {
+ IBT_MIN = 0x1,
+ IBT_ACCOUNT = 0x1,
+ IBT_GUILD = 0x2,
+ IBT_PARTY = 0x3,
+ IBT_CHARACTER = 0x4,
+ IBT_MAX = 0x4,
+};
+
struct s_skill {
unsigned short id;
unsigned char lv;