summaryrefslogtreecommitdiff
path: root/src/playerrelations.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-10-05 01:41:54 +0300
committerAndrei Karas <akaras@inbox.ru>2011-10-05 01:41:54 +0300
commitab545fee3daf930dc46aaf303355c1c578320484 (patch)
tree24c8286acb9fea22b1e689810be5534de2323623 /src/playerrelations.h
parent851bee28374c5c60114c9f78299e28eaa14891b3 (diff)
downloadmv-ab545fee3daf930dc46aaf303355c1c578320484.tar.gz
mv-ab545fee3daf930dc46aaf303355c1c578320484.tar.bz2
mv-ab545fee3daf930dc46aaf303355c1c578320484.tar.xz
mv-ab545fee3daf930dc46aaf303355c1c578320484.zip
Add blacklist relation. In this mode blocked trades, emotes, speech text.
Diffstat (limited to 'src/playerrelations.h')
-rw-r--r--src/playerrelations.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/playerrelations.h b/src/playerrelations.h
index bb483a793..41ca14b40 100644
--- a/src/playerrelations.h
+++ b/src/playerrelations.h
@@ -44,8 +44,9 @@ struct PlayerRelation
static const unsigned int WHISPER = (1 << 3);
static const unsigned int TRADE = (1 << 4);
static const unsigned int INVISIBLE = (1 << 5);
+ static const unsigned int BLACKLIST = (1 << 6);
- static const unsigned int RELATIONS_NR = 5;
+ static const unsigned int RELATIONS_NR = 6;
static const unsigned int RELATION_PERMISSIONS[RELATIONS_NR];
static const unsigned int DEFAULT = EMOTE
@@ -59,7 +60,8 @@ struct PlayerRelation
FRIEND = 1,
DISREGARDED = 2,
IGNORED = 3,
- ERASED = 4
+ ERASED = 4,
+ BLACKLISTED = 5
};
PlayerRelation(Relation relation);