MCPcopy Index your code
hub / github.com/assaultcube/AC / loopv

Function loopv

source/src/server.cpp:195–202  ·  view source on GitHub ↗

got new servermap...

Source from the content-addressed store, hash-verified

193 {
194 // got new servermap...
195 loopv(servermaps)
196 {
197 if(!strcmp(servermaps[i]->fname, fresh->fname)) // we don't check paths here - map filenames have to be unique
198 { // found map of same name
199 mlog(ACLOG_VERBOSE,"marked servermap %s%s for deletion", servermaps[i]->fpath, servermaps[i]->fname);
200 servermapstodelete.add(servermaps.remove(i)); // mark old version for deletion
201 }
202 }
203 if(fresh->isok)
204 {
205 servermaps.add(fresh);

Callers 15

poll_serverthreadsFunction · 0.70
sendpacketFunction · 0.70
getclientbysequenceFunction · 0.70
countclientsFunction · 0.70
numauthedclientsFunction · 0.70
numactiveclientsFunction · 0.70
numteamclientsFunction · 0.70
changematchteamsizeFunction · 0.70
changemastermodeFunction · 0.70
setpausemodeFunction · 0.70
senddemoFunction · 0.70
enddemoplaybackFunction · 0.70

Calls 15

mlogFunction · 0.85
gmode_enumFunction · 0.85
putintFunction · 0.85
putuintFunction · 0.85
enet_packet_createFunction · 0.85
sendpacketFunction · 0.85
enet_packet_destroyFunction · 0.85
sendstringFunction · 0.85
maxFunction · 0.85
putinitclientFunction · 0.85
sendiplistFunction · 0.85
concatformatstringFunction · 0.85

Tested by

no test coverage detected