Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ddnet/ddnet
/ Disconnect
Method
Disconnect
src/engine/client/client.cpp:767–773 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
765
}
766
767
void CClient::Disconnect()
768
{
769
if(m_State != IClient::STATE_OFFLINE)
770
{
771
DisconnectWithReason(nullptr);
772
}
773
}
774
775
bool CClient::DummyConnected() const
776
{
Callers
10
RenderPopupConnecting
Method · 0.45
RenderPopupLoading
Method · 0.45
OnRender
Method · 0.45
RenderDemoPlayer
Method · 0.45
RenderGame
Method · 0.45
PopupConfirmDisconnect
Method · 0.45
DisconnectWithReason
Method · 0.45
DummyDisconnect
Method · 0.45
Con_Disconnect
Method · 0.45
~Score
Method · 0.45
Calls
no outgoing calls
Tested by
1
~Score
Method · 0.36