Core/Chat: Extend ChatFlags to uint32

This commit is contained in:
Shauren
2026-08-16 01:21:11 +02:00
parent 6a40692bd7
commit 77e27859b1
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1194,9 +1194,9 @@ void Player::ToggleDND()
SetPlayerFlag(PLAYER_FLAGS_DND);
}
uint16 Player::GetChatFlags() const
uint32 Player::GetChatFlags() const
{
uint16 tag = CHAT_FLAG_NONE;
uint32 tag = CHAT_FLAG_NONE;
if (isGMChat())
tag |= CHAT_FLAG_GM;
+1 -1
View File
@@ -1281,7 +1281,7 @@ class TC_GAME_API Player final : public Unit, public GridObject<Player>
void ToggleDND();
bool isAFK() const { return HasPlayerFlag(PLAYER_FLAGS_AFK); }
bool isDND() const { return HasPlayerFlag(PLAYER_FLAGS_DND); }
uint16 GetChatFlags() const;
uint32 GetChatFlags() const;
std::string autoReplyMsg;
int64 GetBarberShopCost(Trinity::IteratorPair<UF::ChrCustomizationChoice const*> newCustomizations) const;