MCPcopy 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
1146void CServerBrowser::SetCurrentServerPing(const NETADDR &Addr, int Ping)
1147{
1148 SetLatency(Addr, minimum(Ping, 999));
1149}
1150
1151void CServerBrowser::UpdateFromHttp()
1152{

Callers 2

ProcessServerInfoMethod · 0.80
ProcessServerPacketMethod · 0.80

Calls 1

minimumFunction · 0.50

Tested by

no test coverage detected