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

Method GetClientIncomingCompression

neo/framework/async/AsyncServer.cpp:541–549  ·  view source on GitHub ↗

================== idAsyncServer::GetClientIncomingCompression ================== */

Source from the content-addressed store, hash-verified

539==================
540*/
541float idAsyncServer::GetClientIncomingCompression( int clientNum ) const {
542 const serverClient_t &client = clients[clientNum];
543
544 if ( client.clientState < SCS_CONNECTED ) {
545 return 0.0f;
546 } else {
547 return client.channel.GetIncomingCompression();
548 }
549}
550
551/*
552==================

Callers 1

SCR_DrawAsyncStatsFunction · 0.80

Calls 1

Tested by

no test coverage detected