AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "Channel.h"
Classes | |
struct | PlayerInfo |
Public Member Functions | |
Channel (std::string const &name, uint32 channel_id, uint32 channelDBId, TeamId teamId=TEAM_NEUTRAL, bool announce=true, bool ownership=true) | |
std::string const & | GetName () const |
uint32 | GetChannelId () const |
uint32 | GetChannelDBId () const |
bool | IsConstant () const |
bool | IsAnnounce () const |
bool | IsLFG () const |
std::string const & | GetPassword () const |
void | SetPassword (std::string const &npassword) |
uint32 | GetNumPlayers () const |
uint8 | GetFlags () const |
bool | HasFlag (uint8 flag) const |
void | JoinChannel (Player *player, std::string const &pass) |
void | LeaveChannel (Player *player, bool send=true) |
void | KickOrBan (Player const *player, std::string const &badname, bool ban) |
void | Kick (Player const *player, std::string const &badname) |
void | Ban (Player const *player, std::string const &badname) |
void | AddBan (ObjectGuid guid, uint32 time) |
void | UnBan (Player const *player, std::string const &badname) |
void | UnBan (ObjectGuid guid) |
void | Password (Player const *player, std::string const &pass) |
void | SetMode (Player const *player, std::string const &p2n, bool mod, bool set) |
void | SetOwner (ObjectGuid guid, bool exclaim=true) |
void | SetOwner (Player const *player, std::string const &name) |
void | SendWhoOwner (ObjectGuid guid) |
void | SetModerator (Player const *player, std::string const &newname) |
void | UnsetModerator (Player const *player, std::string const &newname) |
void | SetMute (Player const *player, std::string const &newname) |
void | UnsetMute (Player const *player, std::string const &newname) |
void | List (Player const *player) |
void | Announce (Player const *player) |
void | Say (ObjectGuid guid, std::string const &what, uint32 lang) |
void | Invite (Player const *player, std::string const &newp) |
void | Voice (ObjectGuid guid1, ObjectGuid guid2) |
void | DeVoice (ObjectGuid guid1, ObjectGuid guid2) |
void | JoinNotify (Player *p) |
void | LeaveNotify (Player *p) |
void | FlagsNotify (Player *p) |
void | ToggleModeration (Player *p) |
void | AddWatching (Player *p) |
void | RemoveWatching (Player *p) |
Static Public Member Functions | |
static void | CleanOldChannelsInDB () |
Private Types | |
typedef std::unordered_map< ObjectGuid, PlayerInfo > | PlayerContainer |
typedef std::unordered_map< ObjectGuid, uint32 > | BannedContainer |
typedef std::unordered_set< Player * > | PlayersWatchingContainer |
Private Attributes | |
bool | _announce |
bool | _moderation |
bool | _ownership |
bool | _IsSaved |
bool | _isOwnerGM |
uint8 | _flags |
uint32 | _channelId |
uint32 | _channelDBId |
TeamId | _teamId |
ObjectGuid | _ownerGUID |
std::string | _name |
std::string | _password |
ChannelRights | _channelRights |
PlayerContainer | playersStore |
BannedContainer | bannedStore |
PlayersWatchingContainer | playersWatchingStore |
|
private |
|
private |
|
private |
Channel::Channel | ( | std::string const & | name, |
uint32 | channel_id, | ||
uint32 | channelDBId, | ||
TeamId | teamId = TEAM_NEUTRAL , |
||
bool | announce = true , |
||
bool | ownership = true |
||
) |
References _announce, _channelDBId, ChannelMgr::_channelIdMax, _channelRights, _flags, _IsSaved, _name, _ownership, _teamId, CHANNEL_DBC_FLAG_CITY_ONLY2, CHANNEL_DBC_FLAG_LFG, CHANNEL_DBC_FLAG_TRADE, CHANNEL_FLAG_CITY, CHANNEL_FLAG_CUSTOM, CHANNEL_FLAG_GENERAL, CHANNEL_FLAG_LFG, CHANNEL_FLAG_NOT_LFG, CHANNEL_FLAG_TRADE, CHANNEL_RIGHT_DONT_PRESERVE, CHANNEL_RIGHT_FORCE_ANNOUNCEMENTS, CHANNEL_RIGHT_FORCE_NO_ANNOUNCEMENTS, CHANNEL_RIGHT_NO_OWNERSHIP, CHAR_INS_CHANNEL, CharacterDatabase, CONFIG_PRESERVE_CUSTOM_CHANNELS, ChannelRights::flags, ChannelMgr::GetChannelRightsFor(), sChatChannelsStore, PreparedStatementBase::SetData(), and sWorld.
|
inline |
|
private |
References _channelDBId, CHAR_INS_CHANNEL_BAN, CharacterDatabase, ObjectGuid::GetCounter(), and PreparedStatementBase::SetData().
Referenced by KickOrBan().
void Channel::AddWatching | ( | Player * | p | ) |
References Object::GetGUID(), IsOn(), and playersWatchingStore.
void Channel::Announce | ( | Player const * | player | ) |
References _announce, _channelRights, CHANNEL_RIGHT_FORCE_ANNOUNCEMENTS, CHANNEL_RIGHT_FORCE_NO_ANNOUNCEMENTS, ChannelRights::flags, Object::GetGUID(), Player::GetSession(), WorldSession::IsGMAccount(), IsOn(), MakeAnnouncementsOff(), MakeAnnouncementsOn(), MakeNotMember(), MakeNotModerator(), playersStore, SendToAll(), SendToOne(), and UpdateChannelInDB().
|
inline |
References KickOrBan().
|
static |
References CHAR_DEL_OLD_CHANNELS, CHAR_DEL_OLD_CHANNELS_BANS, CharacterDatabase, CONFIG_PRESERVE_CUSTOM_CHANNEL_DURATION, DAY, PreparedStatementBase::SetData(), and sWorld.
Referenced by World::SetInitialWorldSettings().
void Channel::DeVoice | ( | ObjectGuid | guid1, |
ObjectGuid | guid2 | ||
) |
void Channel::FlagsNotify | ( | Player * | p | ) |
References _channelRights, CHANNEL_RIGHT_CANT_SPEAK, ChannelRights::flags, GetFlags(), Object::GetGUID(), GetName(), GetNumPlayers(), GetPlayerFlags(), WorldSession::GetSecurity(), Player::GetSession(), AccountMgr::IsPlayerAccount(), SendToAllWatching(), and SMSG_USERLIST_UPDATE.
Referenced by JoinChannel(), SetModerator(), and SetOwner().
|
inline |
References _channelDBId.
|
inline |
|
inline |
References _flags.
Referenced by FlagsNotify(), IsLFG(), JoinNotify(), LeaveNotify(), List(), and MakeYouJoined().
|
inline |
References _name.
Referenced by FlagsNotify(), JoinNotify(), LeaveNotify(), List(), ChatLogScript::OnChat(), UnBan(), and Player::UpdateLocalChannels().
|
inline |
|
inline |
|
inlineprivate |
References playersStore.
Referenced by FlagsNotify(), JoinNotify(), and MakeModeChange().
|
inline |
void Channel::Invite | ( | Player const * | player, |
std::string const & | newp | ||
) |
References ByteBuffer::clear(), ObjectAccessor::FindPlayerByName(), Object::GetGUID(), WorldObject::GetName(), Player::GetSocial(), Player::GetTeamId(), PlayerSocial::HasIgnore(), IsBanned(), Player::isGMVisible(), IsOn(), MakeInvite(), MakeInviteWrongFaction(), MakeNotMember(), MakePlayerAlreadyMember(), MakePlayerInviteBanned(), MakePlayerInvited(), MakePlayerNotFound(), and SendToOne().
|
private |
References bannedStore, and GameTime::GetGameTime().
Referenced by Invite(), JoinChannel(), KickOrBan(), and UnBan().
|
inline |
References _channelId.
Referenced by JoinChannel(), LeaveChannel(), MakeChannelOwner(), and MakeYouLeft().
|
inline |
References CHANNEL_FLAG_LFG, and GetFlags().
|
inlineprivate |
References playersStore.
Referenced by AddWatching(), Announce(), Invite(), JoinChannel(), KickOrBan(), LeaveChannel(), List(), Password(), Say(), SendWhoOwner(), SetMode(), SetOwner(), ToggleModeration(), and UnBan().
void Channel::JoinChannel | ( | Player * | player, |
std::string const & | pass | ||
) |
References _announce, _channelRights, _isOwnerGM, _ownerGUID, _ownership, _password, CHANNEL_FLAG_LFG, CHANNEL_RIGHT_CANT_SPEAK, CONFIG_RESTRICTED_LFG_CHANNEL, CONFIG_SILENTLY_GM_JOIN_TO_CHANNEL, ChannelRights::flags, Channel::PlayerInfo::flags, FlagsNotify(), WorldSession::GetAccountId(), Player::GetGroup(), Object::GetGUID(), WorldSession::GetSecurity(), Player::GetSession(), HasFlag(), IsBanned(), IsConstant(), WorldSession::IsGMAccount(), IsOn(), AccountMgr::IsPlayerAccount(), Player::JoinedChannel(), ChannelRights::joinMessage, JoinNotify(), MakeBanned(), MakeJoined(), MakeNotInLfg(), MakePlayerAlreadyMember(), MakeWrongPassword(), MakeYouJoined(), MEMBER_FLAG_NONE, ChannelRights::moderators, Channel::PlayerInfo::player, playersStore, Channel::PlayerInfo::plrPtr, ChatHandler::PSendSysMessage(), SendToAll(), SendToOne(), SetOwner(), ShouldAnnouncePlayer(), sWorld, and UpdateChannelUseageInDB().
Referenced by Player::UpdateLocalChannels().
void Channel::JoinNotify | ( | Player * | p | ) |
References _channelRights, CHANNEL_RIGHT_CANT_SPEAK, ChannelRights::flags, GetFlags(), Object::GetGUID(), GetName(), GetNumPlayers(), GetPlayerFlags(), WorldSession::GetSecurity(), Player::GetSession(), AccountMgr::IsPlayerAccount(), SendToAllWatching(), and SMSG_USERLIST_ADD.
Referenced by JoinChannel().
|
inline |
References KickOrBan().
void Channel::KickOrBan | ( | Player const * | player, |
std::string const & | badname, | ||
bool | ban | ||
) |
References _channelRights, _ownerGUID, _ownership, AddChannelBanToDB(), bannedStore, CHANNEL_BAN_DURATION, CHANNEL_RIGHT_CANT_BAN, CHANNEL_RIGHT_CANT_KICK, ObjectGuid::Empty, ObjectAccessor::FindPlayerByName(), ChannelRights::flags, WorldSession::GetAccountId(), GameTime::GetGameTime(), Object::GetGUID(), Unit::getRace(), Player::GetSession(), IsBanned(), WorldSession::IsGMAccount(), IsOn(), LeaveNotify(), Player::LeftChannel(), MakeNotMember(), MakeNotModerator(), MakeNotOwner(), MakePlayerBanned(), MakePlayerKicked(), MakePlayerNotFound(), ChannelRights::moderators, playersStore, ChatHandler::PSendSysMessage(), RemoveWatching(), sCharacterCache, SendToAll(), SendToOne(), SetOwner(), ShouldAnnouncePlayer(), and Player::TeamIdForRace().
void Channel::LeaveChannel | ( | Player * | player, |
bool | send = true |
||
) |
References _announce, _isOwnerGM, _ownership, ByteBuffer::clear(), ObjectGuid::Empty, Object::GetGUID(), IsConstant(), IsOn(), LeaveNotify(), Player::LeftChannel(), MakeLeft(), MakeNotMember(), MakeYouLeft(), playersStore, RemoveWatching(), SendToAll(), SendToOne(), SetOwner(), ShouldAnnouncePlayer(), and UpdateChannelUseageInDB().
Referenced by Player::CleanupChannels(), and Player::UpdateLocalChannels().
void Channel::LeaveNotify | ( | Player * | p | ) |
References _channelRights, CHANNEL_RIGHT_CANT_SPEAK, ChannelRights::flags, GetFlags(), Object::GetGUID(), GetName(), GetNumPlayers(), WorldSession::GetSecurity(), Player::GetSession(), AccountMgr::IsPlayerAccount(), SendToAllWatching(), and SMSG_USERLIST_REMOVE.
Referenced by KickOrBan(), and LeaveChannel().
void Channel::List | ( | Player const * | player | ) |
References _channelRights, CHANNEL_RIGHT_CANT_SPEAK, ChannelRights::flags, GetFlags(), Object::GetGUID(), GetName(), WorldSession::GetPlayerInfo(), Player::GetSession(), IsOn(), AccountMgr::IsPlayerAccount(), LOG_DEBUG, MakeNotMember(), playersStore, ByteBuffer::put(), SendToOne(), SMSG_CHANNEL_LIST, and ByteBuffer::wpos().
|
private |
References CHAT_ANNOUNCEMENTS_OFF_NOTICE, and MakeNotifyPacket().
Referenced by Announce().
|
private |
References CHAT_ANNOUNCEMENTS_ON_NOTICE, and MakeNotifyPacket().
Referenced by Announce().
|
private |
|
private |
References _ownerGUID, CHAT_CHANNEL_OWNER_NOTICE, IsConstant(), MakeNotifyPacket(), and sCharacterCache.
Referenced by SendWhoOwner().
|
private |
References CHAT_INVALID_NAME_NOTICE, and MakeNotifyPacket().
|
private |
References CHAT_INVITE_NOTICE, and MakeNotifyPacket().
Referenced by Invite().
|
private |
References CHAT_INVITE_WRONG_FACTION_NOTICE, and MakeNotifyPacket().
Referenced by Invite().
|
private |
References CHAT_JOINED_NOTICE, and MakeNotifyPacket().
Referenced by JoinChannel().
|
private |
References CHAT_LEFT_NOTICE, and MakeNotifyPacket().
Referenced by LeaveChannel().
|
private |
References CHAT_MODE_CHANGE_NOTICE, GetPlayerFlags(), and MakeNotifyPacket().
Referenced by SetModerator(), SetMute(), and SetOwner().
|
private |
References CHAT_MODERATION_OFF_NOTICE, and MakeNotifyPacket().
Referenced by ToggleModeration().
|
private |
References CHAT_MODERATION_ON_NOTICE, and MakeNotifyPacket().
Referenced by ToggleModeration().
|
private |
|
private |
References _name, WorldPacket::Initialize(), and SMSG_CHANNEL_NOTIFY.
Referenced by MakeAnnouncementsOff(), MakeAnnouncementsOn(), MakeBanned(), MakeChannelOwner(), MakeInvalidName(), MakeInvite(), MakeInviteWrongFaction(), MakeJoined(), MakeLeft(), MakeModeChange(), MakeModerationOff(), MakeModerationOn(), MakeMuted(), MakeNotInArea(), MakeNotInLfg(), MakeNotMember(), MakeNotModerated(), MakeNotModerator(), MakeNotOwner(), MakeOwnerChanged(), MakePasswordChanged(), MakePlayerAlreadyMember(), MakePlayerBanned(), MakePlayerInviteBanned(), MakePlayerInvited(), MakePlayerKicked(), MakePlayerNotBanned(), MakePlayerNotFound(), MakePlayerUnbanned(), MakeThrottled(), MakeVoiceOff(), MakeVoiceOn(), MakeWrongFaction(), MakeWrongPassword(), MakeYouJoined(), and MakeYouLeft().
|
private |
References CHAT_NOT_IN_AREA_NOTICE, and MakeNotifyPacket().
|
private |
|
private |
References CHAT_NOT_MEMBER_NOTICE, and MakeNotifyPacket().
Referenced by Announce(), Invite(), KickOrBan(), LeaveChannel(), List(), Password(), Say(), SendWhoOwner(), SetMode(), SetOwner(), ToggleModeration(), and UnBan().
|
private |
References CHAT_NOT_MODERATED_NOTICE, and MakeNotifyPacket().
|
private |
References CHAT_NOT_MODERATOR_NOTICE, and MakeNotifyPacket().
Referenced by Announce(), KickOrBan(), Password(), SetMode(), ToggleModeration(), and UnBan().
|
private |
References CHAT_NOT_OWNER_NOTICE, and MakeNotifyPacket().
Referenced by KickOrBan(), SetMode(), and SetOwner().
|
private |
References CHAT_OWNER_CHANGED_NOTICE, and MakeNotifyPacket().
Referenced by SetOwner().
|
private |
References CHAT_PASSWORD_CHANGED_NOTICE, and MakeNotifyPacket().
Referenced by Password().
|
private |
References CHAT_PLAYER_ALREADY_MEMBER_NOTICE, and MakeNotifyPacket().
Referenced by Invite(), and JoinChannel().
|
private |
References CHAT_PLAYER_BANNED_NOTICE, and MakeNotifyPacket().
Referenced by KickOrBan().
|
private |
References CHAT_PLAYER_INVITE_BANNED_NOTICE, and MakeNotifyPacket().
Referenced by Invite().
|
private |
References CHAT_PLAYER_INVITED_NOTICE, and MakeNotifyPacket().
Referenced by Invite().
|
private |
References CHAT_PLAYER_KICKED_NOTICE, and MakeNotifyPacket().
Referenced by KickOrBan().
|
private |
References CHAT_PLAYER_NOT_BANNED_NOTICE, and MakeNotifyPacket().
|
private |
References CHAT_PLAYER_NOT_FOUND_NOTICE, and MakeNotifyPacket().
Referenced by Invite(), KickOrBan(), SetMode(), SetOwner(), and UnBan().
|
private |
References CHAT_PLAYER_UNBANNED_NOTICE, and MakeNotifyPacket().
Referenced by UnBan().
|
private |
References CHAT_THROTTLED_NOTICE, and MakeNotifyPacket().
|
private |
References CHAT_VOICE_OFF_NOTICE, and MakeNotifyPacket().
|
private |
References CHAT_VOICE_ON_NOTICE, and MakeNotifyPacket().
|
private |
References CHAT_WRONG_FACTION_NOTICE, and MakeNotifyPacket().
|
private |
References CHAT_WRONG_PASSWORD_NOTICE, and MakeNotifyPacket().
Referenced by JoinChannel().
|
private |
References CHAT_YOU_JOINED_NOTICE, GetChannelId(), GetFlags(), and MakeNotifyPacket().
Referenced by JoinChannel().
|
private |
References CHAT_YOU_LEFT_NOTICE, GetChannelId(), IsConstant(), and MakeNotifyPacket().
Referenced by LeaveChannel().
void Channel::Password | ( | Player const * | player, |
std::string const & | pass | ||
) |
References _channelRights, _password, CHANNEL_RIGHT_CANT_CHANGE_PASSWORD, ChannelRights::flags, Object::GetGUID(), Player::GetSession(), WorldSession::IsGMAccount(), IsOn(), MakeNotMember(), MakeNotModerator(), MakePasswordChanged(), playersStore, SendToAll(), SendToOne(), and UpdateChannelInDB().
|
private |
References _channelDBId, CHAR_DEL_CHANNEL_BAN, CharacterDatabase, ObjectGuid::GetCounter(), and PreparedStatementBase::SetData().
Referenced by UnBan().
void Channel::RemoveWatching | ( | Player * | p | ) |
References playersWatchingStore.
Referenced by KickOrBan(), and LeaveChannel().
void Channel::Say | ( | ObjectGuid | guid, |
std::string const & | what, | ||
uint32 | lang | ||
) |
References _name, ChatHandler::BuildChatPacket(), CHAT_MSG_CHANNEL, CONFIG_ALLOW_TWO_SIDE_INTERACTION_CHANNEL, ObjectGuid::Empty, Channel::PlayerInfo::IsModerator(), Channel::PlayerInfo::IsMuted(), IsOn(), LANG_UNIVERSAL, MakeMuted(), MakeNotMember(), playersStore, Channel::PlayerInfo::plrPtr, SendToAll(), SendToOne(), and sWorld.
|
private |
References playersStore.
Referenced by Announce(), JoinChannel(), KickOrBan(), LeaveChannel(), Password(), Say(), SetModerator(), SetMute(), SetOwner(), ToggleModeration(), and UnBan().
|
private |
References playersStore.
|
private |
References playersWatchingStore.
Referenced by FlagsNotify(), JoinNotify(), and LeaveNotify().
|
private |
References ObjectAccessor::FindConnectedPlayer().
Referenced by Announce(), Invite(), JoinChannel(), KickOrBan(), LeaveChannel(), List(), Password(), Say(), SendWhoOwner(), SetMode(), SetOwner(), ToggleModeration(), and UnBan().
void Channel::SendWhoOwner | ( | ObjectGuid | guid | ) |
References IsOn(), MakeChannelOwner(), MakeNotMember(), and SendToOne().
void Channel::SetMode | ( | Player const * | player, |
std::string const & | p2n, | ||
bool | mod, | ||
bool | set | ||
) |
References _channelRights, _ownerGUID, CHANNEL_RIGHT_CANT_MUTE, CONFIG_ALLOW_TWO_SIDE_INTERACTION_CHANNEL, ObjectGuid::Empty, ObjectAccessor::FindPlayerByName(), ChannelRights::flags, WorldSession::GetAccountId(), Object::GetGUID(), WorldObject::GetName(), Player::GetSession(), Player::GetTeamId(), WorldSession::IsGMAccount(), IsOn(), MakeNotMember(), MakeNotModerator(), MakeNotOwner(), MakePlayerNotFound(), ChannelRights::moderators, playersStore, SendToOne(), SetModerator(), SetMute(), and sWorld.
Referenced by SetModerator(), SetMute(), UnsetModerator(), and UnsetMute().
|
inlineprivate |
References Channel::PlayerInfo::flags, FlagsNotify(), Channel::PlayerInfo::IsModerator(), MakeModeChange(), playersStore, Channel::PlayerInfo::plrPtr, SendToAll(), and Channel::PlayerInfo::SetModerator().
|
inline |
|
inlineprivate |
References Channel::PlayerInfo::flags, Channel::PlayerInfo::IsMuted(), MakeModeChange(), playersStore, SendToAll(), and Channel::PlayerInfo::SetMuted().
|
inline |
void Channel::SetOwner | ( | ObjectGuid | guid, |
bool | exclaim = true |
||
) |
References _ownerGUID, ObjectAccessor::FindPlayer(), Channel::PlayerInfo::flags, FlagsNotify(), MakeModeChange(), MakeOwnerChanged(), playersStore, Channel::PlayerInfo::plrPtr, SendToAll(), Channel::PlayerInfo::SetModerator(), Channel::PlayerInfo::SetOwner(), and ShouldAnnouncePlayer().
Referenced by JoinChannel(), KickOrBan(), LeaveChannel(), and SetOwner().
void Channel::SetOwner | ( | Player const * | player, |
std::string const & | name | ||
) |
References _channelRights, _ownerGUID, CONFIG_ALLOW_TWO_SIDE_INTERACTION_CHANNEL, ObjectGuid::Empty, ObjectAccessor::FindPlayerByName(), WorldSession::GetAccountId(), Object::GetGUID(), Player::GetSession(), Player::GetTeamId(), WorldSession::IsGMAccount(), IsOn(), MakeNotMember(), MakeNotOwner(), MakePlayerNotFound(), ChannelRights::moderators, SendToOne(), SetOwner(), and sWorld.
|
inline |
|
private |
References CONFIG_SILENTLY_GM_JOIN_TO_CHANNEL, Player::GetSession(), WorldSession::IsGMAccount(), and sWorld.
Referenced by JoinChannel(), KickOrBan(), LeaveChannel(), and SetOwner().
void Channel::ToggleModeration | ( | Player * | p | ) |
References _moderation, CONFIG_GM_LEVEL_CHANNEL_MODERATION, Object::GetGUID(), WorldSession::GetSecurity(), Player::GetSession(), IsOn(), MakeModerationOff(), MakeModerationOn(), MakeNotMember(), MakeNotModerator(), playersStore, SendToAll(), SendToOne(), and sWorld.
void Channel::UnBan | ( | ObjectGuid | guid | ) |
References bannedStore, IsBanned(), and RemoveChannelBanFromDB().
void Channel::UnBan | ( | Player const * | player, |
std::string const & | badname | ||
) |
References _channelRights, bannedStore, CHANNEL_RIGHT_CANT_BAN, ChannelRights::flags, WorldSession::GetAccountId(), Object::GetGUID(), GetName(), WorldObject::GetName(), Player::GetSession(), IsBanned(), WorldSession::IsGMAccount(), IsOn(), LOG_GM, MakeNotMember(), MakeNotModerator(), MakePlayerNotFound(), MakePlayerUnbanned(), ChannelRights::moderators, playersStore, RemoveChannelBanFromDB(), sCharacterCache, SendToAll(), SendToOne(), and ObjectGuid::ToString().
|
inline |
|
inline |
|
private |
References _announce, _channelDBId, _IsSaved, _name, _password, CHAR_UPD_CHANNEL, CharacterDatabase, LOG_DEBUG, and PreparedStatementBase::SetData().
Referenced by Announce(), and Password().
|
private |
References _channelDBId, CHAR_UPD_CHANNEL_USAGE, CharacterDatabase, and PreparedStatementBase::SetData().
Referenced by JoinChannel(), and LeaveChannel().
void Channel::Voice | ( | ObjectGuid | guid1, |
ObjectGuid | guid2 | ||
) |
|
private |
Referenced by Announce(), Channel(), IsAnnounce(), JoinChannel(), LeaveChannel(), and UpdateChannelInDB().
|
private |
Referenced by AddChannelBanToDB(), Channel(), GetChannelDBId(), RemoveChannelBanFromDB(), UpdateChannelInDB(), and UpdateChannelUseageInDB().
|
private |
Referenced by GetChannelId(), and IsConstant().
|
private |
Referenced by Announce(), Channel(), FlagsNotify(), JoinChannel(), JoinNotify(), KickOrBan(), LeaveNotify(), List(), Password(), SetMode(), SetOwner(), and UnBan().
|
private |
Referenced by Channel(), GetFlags(), and HasFlag().
|
private |
Referenced by JoinChannel(), and LeaveChannel().
|
private |
Referenced by Channel(), and UpdateChannelInDB().
|
private |
Referenced by ToggleModeration().
|
private |
Referenced by Channel(), GetName(), MakeNotifyPacket(), Say(), and UpdateChannelInDB().
|
private |
Referenced by JoinChannel(), KickOrBan(), MakeChannelOwner(), SetMode(), and SetOwner().
|
private |
Referenced by Channel(), JoinChannel(), KickOrBan(), and LeaveChannel().
|
private |
Referenced by GetPassword(), JoinChannel(), Password(), SetPassword(), and UpdateChannelInDB().
|
private |
Referenced by AddBan(), IsBanned(), KickOrBan(), and UnBan().
|
private |
Referenced by Announce(), GetNumPlayers(), GetPlayerFlags(), IsOn(), JoinChannel(), KickOrBan(), LeaveChannel(), List(), Password(), Say(), SendToAll(), SendToAllButOne(), SetMode(), SetModerator(), SetMute(), SetOwner(), ToggleModeration(), and UnBan().
|
private |
Referenced by AddWatching(), RemoveWatching(), and SendToAllWatching().