158 player->SendDirectMessage(notify.
Write());
167 player->SendDirectMessage(notify.
Write());
175 player->SendDirectMessage(notify.
Write());
186 player->SendDirectMessage(notify.
Write());
190 player->JoinedChannel(
this);
200 playerInfo.PlayerGuid = guid;
215 player->SendDirectMessage(notify.
Write());
WorldPacket const * Write() override
Definition: ChannelPackets.cpp:63
WorldPacket const * Write() override
Definition: ChannelPackets.cpp:38
void MakePlayerAlreadyMember(WorldPackets::Channel::ChannelNotify &data, ObjectGuid const &guid)
Definition: Channel.cpp:919
std::string _name
Definition: Channel.h:282
void MakeBanned(WorldPackets::Channel::ChannelNotify &data)
Definition: Channel.cpp:894
Definition: ChannelPackets.h:52
bool IsBanned(ObjectGuid const &guid) const
Definition: Channel.h:258
uint8 _flags
Definition: Channel.h:278
void MakeWrongPassword(WorldPackets::Channel::ChannelNotify &data)
Definition: Channel.cpp:813
#define sWorld
Definition: World.h:887
void SetOwner(ObjectGuid const &guid, bool exclaim=true)
Definition: Channel.cpp:699
bool _ownership
Definition: Channel.h:276
std::string _Channel
Channel Name.
Definition: ChannelPackets.h:83
bool HasFlag(uint8 flag) const
Definition: Channel.h:181
Definition: ChannelPackets.h:72
bool IsConstant() const
Definition: Channel.h:173
void MakeNotInLfg(WorldPackets::Channel::ChannelNotify &data)
Definition: Channel.cpp:973
void MakeJoined(WorldPackets::Channel::ChannelNotify &data, ObjectGuid const &guid)
Definition: Channel.cpp:786
int32 ChatChannelID
Definition: ChannelPackets.h:80
void JoinNotify(Player const *player)
Definition: Channel.cpp:990
static bool IsPlayerAccount(uint32 gmlevel)
Definition: AccountMgr.cpp:390
std::string _password
Definition: Channel.h:283
bool _announce
Definition: Channel.h:275
uint32 _channelId
Definition: Channel.h:279
void UpdateChannelUseageInDB() const
Definition: Channel.cpp:128
PlayerContainer _playersStore
Definition: Channel.h:284
uint32 _ChannelFlags
Definition: ChannelPackets.h:82
Definition: ObjectGuid.h:189
void SendToAll(WorldPacket const *data, ObjectGuid const &guid=ObjectGuid::Empty)
Definition: Channel.cpp:758
ObjectGuid _ownerGUID
Definition: Channel.h:281
bool IsOn(ObjectGuid const &who) const
Definition: Channel.h:257
bool IsEmpty() const
Definition: ObjectGuid.h:242