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

Function getservermap

source/src/server.cpp:404–408  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

402}
403
404servermap *getservermap(const char *mapname) // check, if the server knows a map (by filename)
405{
406 servermap *k = new servermap(mapname,""), **res = servermaps.search(&k, servermapsortname);
407 return res ? *res : NULL;
408}
409
410bool valid_client(int cn)
411{

Callers 3

mapactionMethod · 0.85
startgameFunction · 0.85
processFunction · 0.85

Calls 1

searchMethod · 0.80

Tested by

no test coverage detected