feat(Core/Network): Per-user togglable packet logging (#23254)

Co-authored-by: Ryan Turner <16946913+TheSCREWEDSoftware@users.noreply.github.com>
This commit is contained in:
killerwife
2025-10-16 11:57:16 +02:00
committed by GitHub
parent 4c3eab650c
commit 72d060f097
6 changed files with 49 additions and 4 deletions

View File

@@ -1510,3 +1510,9 @@ void WorldSession::InitializeSessionCallback(CharacterDatabaseQueryHolder const&
SendClientCacheVersion(clientCacheVersion);
SendTutorialsData();
}
void WorldSession::SetPacketLogging(bool state)
{
if (m_Socket)
m_Socket->SetPacketLogging(state);
}