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

Function loopv

source/src/master.cpp:268–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

266 delete gameserverlists.pop();
267 messagebuf *l = new messagebuf(gameserverlists);
268 loopv(gameservers)
269 {
270 gameserver &s = *gameservers[i];
271 if(!s.lastpong) continue;
272 defformatstring(cmd)("addserver %s %d\n", s.ip, s.port);
273 l->buf.put(cmd, strlen(cmd));
274 }
275 l->buf.add('\0');
276 gameserverlists.add(l);
277 updateserverlist = false;

Callers 4

checkbanFunction · 0.70
purgeauthsFunction · 0.70
confauthFunction · 0.70
checkclientsFunction · 0.70

Calls 15

printbanFunction · 0.85
findclientFunction · 0.85
outputfFunction · 0.85
servermessageFunction · 0.85
maxFunction · 0.85
purgeclientFunction · 0.85
minFunction · 0.85
checkclientinputFunction · 0.85
endswithMethod · 0.80
concatMethod · 0.80
setsizeMethod · 0.80
purgeMethod · 0.80

Tested by

no test coverage detected