Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ddnet/ddnet
/ GetConnectAddress
Method
GetConnectAddress
src/engine/client/steam.cpp:75–85 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
73
}
74
75
const NETADDR *GetConnectAddress() override
76
{
77
if(m_GotConnectAddr)
78
{
79
return &m_ConnectAddr;
80
}
81
else
82
{
83
return nullptr;
84
}
85
}
86
void ClearConnectAddress() override
87
{
88
m_GotConnectAddr = false;
Callers
2
Update
Method · 0.45
main
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected