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:
parent
4c3eab650c
commit
72d060f097
6 changed files with 49 additions and 4 deletions
|
|
@ -1510,3 +1510,9 @@ void WorldSession::InitializeSessionCallback(CharacterDatabaseQueryHolder const&
|
|||
SendClientCacheVersion(clientCacheVersion);
|
||||
SendTutorialsData();
|
||||
}
|
||||
|
||||
void WorldSession::SetPacketLogging(bool state)
|
||||
{
|
||||
if (m_Socket)
|
||||
m_Socket->SetPacketLogging(state);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue