#include <player_relations.h>
Definition at line 33 of file player_relations.h.
Public Types | |
enum | Relation { NEUTRAL = 0, FRIEND = 1, DISREGARDED = 2, IGNORED = 3 } |
Public Member Functions | |
PlayerRelation (Relation relation) | |
Public Attributes | |
Relation | mRelation |
Static Public Attributes | |
static const unsigned int | EMOTE = (1 << 0) |
static const unsigned int | SPEECH_FLOAT = (1 << 1) |
static const unsigned int | SPEECH_LOG = (1 << 2) |
static const unsigned int | WHISPER = (1 << 3) |
static const unsigned int | TRADE = (1 << 4) |
static const unsigned int | RELATIONS_NR = 4 |
static const unsigned int | RELATION_PERMISSIONS [RELATIONS_NR] |
static const unsigned int | DEFAULT |
PlayerRelation::PlayerRelation | ( | Relation | relation | ) |
Definition at line 84 of file player_relations.cpp.
const unsigned int PlayerRelation::EMOTE = (1 << 0) [static] |
Definition at line 35 of file player_relations.h.
const unsigned int PlayerRelation::SPEECH_FLOAT = (1 << 1) [static] |
Definition at line 36 of file player_relations.h.
const unsigned int PlayerRelation::SPEECH_LOG = (1 << 2) [static] |
Definition at line 37 of file player_relations.h.
const unsigned int PlayerRelation::WHISPER = (1 << 3) [static] |
Definition at line 38 of file player_relations.h.
const unsigned int PlayerRelation::TRADE = (1 << 4) [static] |
Definition at line 39 of file player_relations.h.
const unsigned int PlayerRelation::RELATIONS_NR = 4 [static] |
Definition at line 41 of file player_relations.h.
const unsigned int PlayerRelation::RELATION_PERMISSIONS [static] |
Initial value:
{ 0, EMOTE | SPEECH_FLOAT | SPEECH_LOG | WHISPER | TRADE, EMOTE | SPEECH_FLOAT, 0 }
Definition at line 42 of file player_relations.h.
const unsigned int PlayerRelation::DEFAULT [static] |
Initial value:
EMOTE | SPEECH_FLOAT | SPEECH_LOG | WHISPER | TRADE
Definition at line 44 of file player_relations.h.
Definition at line 58 of file player_relations.h.