Core/Misc: Move (or delete) constructors and destructors to .cpp files (avoids compiling them in every file that includes them)

This commit is contained in:
Shauren
2022-02-12 21:36:46 +01:00
parent 5b28a5ab14
commit f8ad7017dd
42 changed files with 758 additions and 102 deletions

View File

@@ -990,6 +990,11 @@ LocaleConstant ChatHandler::GetSessionDbLocaleIndex() const
return m_session->GetSessionDbLocaleIndex();
}
std::string ChatHandler::playerLink(std::string const& name) const
{
return m_session ? "|cffffffff|Hplayer:" + name + "|h[" + name + "]|h|r" : name;
}
std::string ChatHandler::GetNameLink(Player* chr) const
{
return playerLink(chr->GetName());