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

Function findclient

source/src/master.cpp:345–354  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

343}
344
345mclient *findclient(gameserver &s)
346{
347 loopv(mclients)
348 {
349 mclient &c = *mclients[i];
350 if(s.address.host == c.address.host && s.port == c.servport)
351 return &c;
352 }
353 return NULL;
354}
355
356void servermessage(gameserver &s, const char *msg)
357{

Callers 2

servermessageFunction · 0.85
loopvFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected