TrinityCore
Loading...
Searching...
No Matches
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 121 of file Channel.h.

Member Function Documentation

◆ GetFlags()

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

Definition at line 123 of file Channel.h.

Referenced by Channel::SetModerator(), and Channel::SetMute().

◆ HasFlag()

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

Definition at line 128 of file Channel.h.

◆ IsInvisible()

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

Definition at line 125 of file Channel.h.

Referenced by Channel::JoinChannel().

◆ IsModerator()

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

◆ IsMuted()

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

Definition at line 150 of file Channel.h.

References MEMBER_FLAG_MUTED.

Referenced by Channel::Say(), and Channel::SetMute().

◆ IsOwner()

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

Definition at line 132 of file Channel.h.

References MEMBER_FLAG_OWNER.

Referenced by Channel::LeaveChannel().

◆ RemoveFlag()

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

Definition at line 130 of file Channel.h.

◆ SetFlag()

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

Definition at line 129 of file Channel.h.

◆ SetInvisible()

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

Definition at line 126 of file Channel.h.

Referenced by Channel::JoinChannel().

◆ SetModerator()

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

◆ SetMuted()

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

Definition at line 151 of file Channel.h.

References MEMBER_FLAG_MUTED.

Referenced by Channel::SetMute().

◆ SetOwner()

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

Definition at line 133 of file Channel.h.

References MEMBER_FLAG_OWNER.

Member Data Documentation

◆ _flags

uint8 Channel::PlayerInfo::_flags = MEMBER_FLAG_NONE
private

Definition at line 160 of file Channel.h.

◆ _invisible

bool Channel::PlayerInfo::_invisible = false
private

Definition at line 161 of file Channel.h.


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