Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ddnet/ddnet
/ OnDisconnect
Method
OnDisconnect
src/game/server/player.cpp:535–540 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
533
}
534
535
void CPlayer::OnDisconnect()
536
{
537
KillCharacter();
538
539
m_Moderating = false;
540
}
541
542
void CPlayer::OnPredictedInput(const CNetObj_PlayerInput *pNewInput)
543
{
Callers
1
OnPlayerDisconnect
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected