MCPcopy Create free account
hub / github.com/JACoders/OpenJK / SV_SendClientMessages

Function SV_SendClientMessages

code/server/sv_snapshot.cpp:704–723  ·  view source on GitHub ↗

======================= SV_SendClientMessages ======================= */

Source from the content-addressed store, hash-verified

702=======================
703*/
704void SV_SendClientMessages( void ) {
705 int i;
706 client_t *c;
707
708 // send a message to each connected client
709 for (i=0, c = svs.clients ; i < 1 ; i++, c++) {
710 if (!c->state) {
711 continue; // not connected
712 }
713
714 if ( c->state != CS_ACTIVE ) {
715 if ( c->state != CS_ZOMBIE ) {
716 SV_SendClientEmptyMessage( c );
717 }
718 continue;
719 }
720
721 SV_SendClientSnapshot( c );
722 }
723}
724

Callers 1

SV_FrameFunction · 0.70

Calls 2

SV_SendClientSnapshotFunction · 0.70

Tested by

no test coverage detected