ManaPlus
Public Member Functions | Data Fields | Protected Member Functions
PlayerIgnoreStrategy Class Referenceabstract

#include <playerignorestrategy.h>

Inheritance diagram for PlayerIgnoreStrategy:
PIS_blinkname PIS_dotdotdot PIS_emote PIS_nothing

Public Member Functions

virtual ~PlayerIgnoreStrategy ()
 
virtual void ignore (Being *const being, const unsigned int flags) const =0
 

Data Fields

std::string mDescription
 
std::string mShortName
 

Protected Member Functions

 PlayerIgnoreStrategy ()
 

Detailed Description

Ignore strategy: describes how we should handle ignores.

Definition at line 36 of file playerignorestrategy.h.

Constructor & Destructor Documentation

◆ ~PlayerIgnoreStrategy()

virtual PlayerIgnoreStrategy::~PlayerIgnoreStrategy ( )
inlinevirtual

Definition at line 44 of file playerignorestrategy.h.

45  { }

◆ PlayerIgnoreStrategy()

PlayerIgnoreStrategy::PlayerIgnoreStrategy ( )
inlineprotected

Definition at line 53 of file playerignorestrategy.h.

53  :
54  mDescription(),
55  mShortName()
56  {
57  }

Member Function Documentation

◆ ignore()

virtual void PlayerIgnoreStrategy::ignore ( Being *const  being,
const unsigned int  flags 
) const
pure virtual

Handle the ignoring of the indicated action by the indicated player.

Implemented in PIS_emote, PIS_blinkname, PIS_dotdotdot, and PIS_nothing.

Referenced by PlayerRelationsManager::hasPermission().

Field Documentation

◆ mDescription

std::string PlayerIgnoreStrategy::mDescription

◆ mShortName

std::string PlayerIgnoreStrategy::mShortName

The documentation for this class was generated from the following file: