mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
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:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user