feat(Core/Player): Implement helper to send system messages to players (#15364)

This commit is contained in:
Skjalf
2023-03-12 15:35:54 -03:00
committed by GitHub
parent e2eb9fb82b
commit a9f945b436
2 changed files with 7 additions and 0 deletions

View File

@@ -16220,3 +16220,8 @@ std::string Player::GetDebugInfo() const
sstr << Unit::GetDebugInfo();
return sstr.str();
}
void Player::SendSystemMessage(std::string_view msg, bool escapeCharacters)
{
ChatHandler(GetSession()).SendSysMessage(msg, escapeCharacters);
}