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

Function numactiveclients

source/src/server.cpp:562–567  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

560}
561
562int numactiveclients()
563{
564 int num = 0;
565 loopv(clients) if(clients[i]->type!=ST_EMPTY && clients[i]->isauthed && clients[i]->isonrightmap && team_isactive(clients[i]->team)) num++;
566 return num;
567}
568
569int *numteamclients(int exclude = -1)
570{

Callers 1

arenacheckFunction · 0.85

Calls 1

loopvFunction · 0.70

Tested by

no test coverage detected