diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-10-05 01:41:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-10-05 01:41:54 +0300 |
commit | ab545fee3daf930dc46aaf303355c1c578320484 (patch) | |
tree | 24c8286acb9fea22b1e689810be5534de2323623 /src/playerrelations.h | |
parent | 851bee28374c5c60114c9f78299e28eaa14891b3 (diff) | |
download | plus-ab545fee3daf930dc46aaf303355c1c578320484.tar.gz plus-ab545fee3daf930dc46aaf303355c1c578320484.tar.bz2 plus-ab545fee3daf930dc46aaf303355c1c578320484.tar.xz plus-ab545fee3daf930dc46aaf303355c1c578320484.zip |
Add blacklist relation. In this mode blocked trades, emotes, speech text.
Diffstat (limited to 'src/playerrelations.h')
-rw-r--r-- | src/playerrelations.h | 6 |
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); |