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 109 of file Channel.h.

Member Function Documentation

◆ GetFlags()

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

Definition at line 111 of file Channel.h.

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

◆ HasFlag()

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

Definition at line 116 of file Channel.h.

◆ IsInvisible()

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

Definition at line 113 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 138 of file Channel.h.

References MEMBER_FLAG_MUTED.

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

◆ IsOwner()

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

Definition at line 120 of file Channel.h.

References MEMBER_FLAG_OWNER.

Referenced by Channel::LeaveChannel().

◆ RemoveFlag()

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

Definition at line 118 of file Channel.h.

◆ SetFlag()

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

Definition at line 117 of file Channel.h.

◆ SetInvisible()

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

Definition at line 114 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 139 of file Channel.h.

References MEMBER_FLAG_MUTED.

Referenced by Channel::SetMute().

◆ SetOwner()

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

Definition at line 121 of file Channel.h.

References MEMBER_FLAG_OWNER.

Member Data Documentation

◆ _flags

uint8 Channel::PlayerInfo::_flags = MEMBER_FLAG_NONE
private

Definition at line 148 of file Channel.h.

◆ _invisible

bool Channel::PlayerInfo::_invisible = false
private

Definition at line 149 of file Channel.h.


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