PlayerRelation Struct Reference

#include <player_relations.h>

List of all members.


Detailed Description

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

Member Enumeration Documentation

Enumerator:
NEUTRAL 
FRIEND 
DISREGARDED 
IGNORED 

Definition at line 49 of file player_relations.h.


Constructor & Destructor Documentation

PlayerRelation::PlayerRelation ( Relation  relation  ) 

Definition at line 84 of file player_relations.cpp.


Member Data Documentation

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:

Definition at line 42 of file player_relations.h.

const unsigned int PlayerRelation::DEFAULT [static]

Initial value:

Definition at line 44 of file player_relations.h.

Definition at line 58 of file player_relations.h.


The documentation for this struct was generated from the following files:

Generated on Sun Apr 26 17:30:43 2009 for The Mana World by  doxygen 1.5.5