MCPcopy Create free account
hub / github.com/dhewm/dhewm3 / GetClientOutgoingCompression

Method GetClientOutgoingCompression

neo/framework/async/AsyncServer.cpp:526–534  ·  view source on GitHub ↗

================== idAsyncServer::GetClientOutgoingCompression ================== */

Source from the content-addressed store, hash-verified

524==================
525*/
526float idAsyncServer::GetClientOutgoingCompression( int clientNum ) const {
527 const serverClient_t &client = clients[clientNum];
528
529 if ( client.clientState < SCS_CONNECTED ) {
530 return 0.0f;
531 } else {
532 return client.channel.GetOutgoingCompression();
533 }
534}
535
536/*
537==================

Callers 1

SCR_DrawAsyncStatsFunction · 0.80

Calls 1

Tested by

no test coverage detected