Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ddnet/ddnet
/ SetCurrentServerPing
Method
SetCurrentServerPing
src/engine/client/serverbrowser.cpp:1146–1149 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1144
}
1145
1146
void CServerBrowser::SetCurrentServerPing(const NETADDR &Addr, int Ping)
1147
{
1148
SetLatency(Addr, minimum(Ping, 999));
1149
}
1150
1151
void CServerBrowser::UpdateFromHttp()
1152
{
Callers
2
ProcessServerInfo
Method · 0.80
ProcessServerPacket
Method · 0.80
Calls
1
minimum
Function · 0.50
Tested by
no test coverage detected