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

Function valid_client

source/src/server.cpp:410–413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

408}
409
410bool valid_client(int cn)
411{
412 return clients.inrange(cn) && clients[cn]->type != ST_EMPTY;
413}
414
415void cleanworldstate(ENetPacket *packet)
416{

Callers 15

mapactionMethod · 0.85
isvalidMethod · 0.85
isvalidMethod · 0.85
kickactionMethod · 0.85
isvalidMethod · 0.85
servermsFunction · 0.85
setpausemodeFunction · 0.85
flagdistanceFunction · 0.85
flagactionFunction · 0.85
clienthasflagFunction · 0.85
sendteamtextFunction · 0.85
sendvoicecomteamFunction · 0.85

Calls 1

inrangeMethod · 0.80

Tested by

no test coverage detected