mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-01 18:13:48 +00:00
chore(Core/Chat): add Channel::ShouldAnnouncePlayer() method (#17819)
This commit is contained in:
committed by
GitHub
parent
d4931755ea
commit
86d704a514
@@ -271,6 +271,8 @@ private:
|
||||
void SendToOne(WorldPacket* data, ObjectGuid who);
|
||||
void SendToAllWatching(WorldPacket* data);
|
||||
|
||||
bool ShouldAnnouncePlayer(const Player* pPlayer) const;
|
||||
|
||||
[[nodiscard]] bool IsOn(ObjectGuid who) const { return playersStore.find(who) != playersStore.end(); }
|
||||
[[nodiscard]] bool IsBanned(ObjectGuid guid) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user