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

Method GetClientIncomingRate

neo/framework/async/AsyncServer.cpp:511–519  ·  view source on GitHub ↗

================== idAsyncServer::GetClientIncomingRate ================== */

Source from the content-addressed store, hash-verified

509==================
510*/
511int idAsyncServer::GetClientIncomingRate( int clientNum ) const {
512 const serverClient_t &client = clients[clientNum];
513
514 if ( client.clientState < SCS_CONNECTED ) {
515 return -1;
516 } else {
517 return client.channel.GetIncomingRate();
518 }
519}
520
521/*
522==================

Callers 2

SCR_DrawAsyncStatsFunction · 0.80

Calls 1

GetIncomingRateMethod · 0.45

Tested by

no test coverage detected