MCPcopy Create free account
hub / github.com/assaultcube/AC / getconnectedserverinfo

Function getconnectedserverinfo

source/src/serverbrowser.cpp:292–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290}
291
292serverinfo *getconnectedserverinfo()
293{
294 if(!curpeer) return NULL;
295 return findserverinfo(curpeer->address);
296}
297
298static serverinfo *newserver(const char *name, uint ip = ENET_HOST_ANY, int port = CUBE_DEFAULT_SERVER_PORT, int weight = 0)
299{

Callers 6

refreshserversFunction · 0.85
serverinfokeyFunction · 0.85
updatefrommasterFunction · 0.85
renderscoresFunction · 0.85
asciiscoresFunction · 0.85
currentserverFunction · 0.85

Calls 1

findserverinfoFunction · 0.85

Tested by

no test coverage detected