MCPcopy Create free account
hub / github.com/demoth/jake2 / SV_Nextserver_f

Method SV_Nextserver_f

server/src/main/java/jake2/server/SV_USER.java:385–394  ·  view source on GitHub ↗
(List<String> args, GameImportsImpl gameImports, client_t client)

Source from the content-addressed store, hash-verified

383 * next server, ==================
384 */
385 private static void SV_Nextserver_f(List<String> args, GameImportsImpl gameImports, client_t client) {
386 int spawnCount = args.size() >= 2 ? Lib.atoi(args.get(1)) : 0;
387 if (spawnCount != gameImports.spawncount) {
388 Com.DPrintf("Nextserver() from wrong level, from " + client.name + "\n");
389 return; // leftover from last server
390 }
391
392 Com.DPrintf("Nextserver() from " + client.name + "\n");
393 SV_Nextserver(gameImports);
394 }
395
396}

Callers

nothing calls this directly

Calls 5

atoiMethod · 0.95
DPrintfMethod · 0.95
SV_NextserverMethod · 0.95
sizeMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected