TrinityCore
Channel::PlayerInfo Struct Reference

Public Member Functions

uint8 GetFlags () const
 
bool IsInvisible () const
 
void SetInvisible (bool on)
 
bool HasFlag (uint8 flag) const
 
void SetFlag (uint8 flag)
 
void RemoveFlag (uint8 flag)
 
bool IsOwner () const
 
void SetOwner (bool state)
 
bool IsModerator () const
 
void SetModerator (bool state)
 
bool IsMuted () const
 
void SetMuted (bool state)
 

Private Attributes

uint8 _flags = MEMBER_FLAG_NONE
 
bool _invisible = false
 

Detailed Description

Definition at line 116 of file Channel.h.

Member Function Documentation

◆ GetFlags()

uint8 Channel::PlayerInfo::GetFlags ( ) const
inline

Definition at line 118 of file Channel.h.

+ Here is the caller graph for this function:

◆ HasFlag()

bool Channel::PlayerInfo::HasFlag ( uint8  flag) const
inline

Definition at line 123 of file Channel.h.

◆ IsInvisible()

bool Channel::PlayerInfo::IsInvisible ( ) const
inline

Definition at line 120 of file Channel.h.

+ Here is the caller graph for this function:

◆ IsModerator()

bool Channel::PlayerInfo::IsModerator ( ) const
inline

Definition at line 136 of file Channel.h.

+ Here is the caller graph for this function:

◆ IsMuted()

bool Channel::PlayerInfo::IsMuted ( ) const
inline

Definition at line 145 of file Channel.h.

+ Here is the caller graph for this function:

◆ IsOwner()

bool Channel::PlayerInfo::IsOwner ( ) const
inline

Definition at line 127 of file Channel.h.

+ Here is the caller graph for this function:

◆ RemoveFlag()

void Channel::PlayerInfo::RemoveFlag ( uint8  flag)
inline

Definition at line 125 of file Channel.h.

◆ SetFlag()

void Channel::PlayerInfo::SetFlag ( uint8  flag)
inline

Definition at line 124 of file Channel.h.

◆ SetInvisible()

void Channel::PlayerInfo::SetInvisible ( bool  on)
inline

Definition at line 121 of file Channel.h.

+ Here is the caller graph for this function:

◆ SetModerator()

void Channel::PlayerInfo::SetModerator ( bool  state)
inline

Definition at line 137 of file Channel.h.

+ Here is the caller graph for this function:

◆ SetMuted()

void Channel::PlayerInfo::SetMuted ( bool  state)
inline

Definition at line 146 of file Channel.h.

+ Here is the caller graph for this function:

◆ SetOwner()

void Channel::PlayerInfo::SetOwner ( bool  state)
inline

Definition at line 128 of file Channel.h.

Member Data Documentation

◆ _flags

uint8 Channel::PlayerInfo::_flags = MEMBER_FLAG_NONE
private

Definition at line 155 of file Channel.h.

◆ _invisible

bool Channel::PlayerInfo::_invisible = false
private

Definition at line 156 of file Channel.h.


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