Core/Chat: Extend ChatFlags to uint32
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user