Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
Channel::PlayerInfo Struct Reference

Public Member Functions

bool HasFlag (uint8 flag) const
bool IsModerator () const
bool IsMuted () const
bool IsOwner () const
 PlayerInfo ()
void SetFlag (uint8 flag)
void SetModerator (bool state)
void SetMuted (bool state)
void SetOwner (bool state)

Public Attributes

uint8 flags
uint64 player

Detailed Description

Definition at line 108 of file Channel.h.

Constructor & Destructor Documentation

◆ PlayerInfo()

Channel::PlayerInfo::PlayerInfo ( )
inline

Definition at line 110 of file Channel.h.

References flags, and player.

Member Function Documentation

◆ HasFlag()

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

Definition at line 114 of file Channel.h.

References flags.

Referenced by SetFlag().

◆ IsModerator()

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

Definition at line 122 of file Channel.h.

References flags, and MEMBER_FLAG_MODERATOR.

◆ IsMuted()

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

Definition at line 128 of file Channel.h.

References flags, and MEMBER_FLAG_MUTED.

◆ IsOwner()

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

Definition at line 116 of file Channel.h.

References flags, and MEMBER_FLAG_OWNER.

◆ SetFlag()

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

Definition at line 115 of file Channel.h.

References flags, and HasFlag().

◆ SetModerator()

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

Definition at line 123 of file Channel.h.

References flags, and MEMBER_FLAG_MODERATOR.

◆ SetMuted()

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

Definition at line 129 of file Channel.h.

References flags, and MEMBER_FLAG_MUTED.

◆ SetOwner()

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

Definition at line 117 of file Channel.h.

References flags, and MEMBER_FLAG_OWNER.

Member Data Documentation

◆ flags

uint8 Channel::PlayerInfo::flags

◆ player

uint64 Channel::PlayerInfo::player

Definition at line 111 of file Channel.h.

Referenced by Channel::JoinChannel(), and PlayerInfo().


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