chore(Core/Player): codestyle (#17841)
This commit is contained in:
parent
86d704a514
commit
23606bcba0
2 changed files with 3 additions and 3 deletions
|
|
@ -938,9 +938,9 @@ void Channel::SendToAllWatching(WorldPacket* data)
|
|||
(*i)->GetSession()->SendPacket(data);
|
||||
}
|
||||
|
||||
bool Channel::ShouldAnnouncePlayer(const Player* pPlayer) const
|
||||
bool Channel::ShouldAnnouncePlayer(Player const* player) const
|
||||
{
|
||||
return !(AccountMgr::IsGMAccount(pPlayer->GetSession()->GetSecurity()) && sWorld->getBoolConfig(CONFIG_SILENTLY_GM_JOIN_TO_CHANNEL));
|
||||
return !(AccountMgr::IsGMAccount(player->GetSession()->GetSecurity()) && sWorld->getBoolConfig(CONFIG_SILENTLY_GM_JOIN_TO_CHANNEL));
|
||||
}
|
||||
|
||||
void Channel::Voice(ObjectGuid /*guid1*/, ObjectGuid /*guid2*/)
|
||||
|
|
|
|||
|
|
@ -271,7 +271,7 @@ private:
|
|||
void SendToOne(WorldPacket* data, ObjectGuid who);
|
||||
void SendToAllWatching(WorldPacket* data);
|
||||
|
||||
bool ShouldAnnouncePlayer(const Player* pPlayer) const;
|
||||
bool ShouldAnnouncePlayer(Player const* player) const;
|
||||
|
||||
[[nodiscard]] bool IsOn(ObjectGuid who) const { return playersStore.find(who) != playersStore.end(); }
|
||||
[[nodiscard]] bool IsBanned(ObjectGuid guid) const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue