Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
410
bool valid_client(int cn)
411
{
412
return clients.inrange(cn) && clients[cn]->type != ST_EMPTY;
413
}
414
415
void cleanworldstate(ENetPacket *packet)
416
{
Callers
15
mapaction
Method · 0.85
isvalid
Method · 0.85
isvalid
Method · 0.85
kickaction
Method · 0.85
isvalid
Method · 0.85
serverms
Function · 0.85
setpausemode
Function · 0.85
flagdistance
Function · 0.85
flagaction
Function · 0.85
clienthasflag
Function · 0.85
sendteamtext
Function · 0.85
sendvoicecomteam
Function · 0.85
Calls
1
inrange
Method · 0.80
Tested by
no test coverage detected