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

Method GetClientOutgoingRate

neo/framework/async/AsyncServer.cpp:496–504  ·  view source on GitHub ↗

================== idAsyncServer::GetClientOutgoingRate ================== */

Source from the content-addressed store, hash-verified

494==================
495*/
496int idAsyncServer::GetClientOutgoingRate( int clientNum ) const {
497 const serverClient_t &client = clients[clientNum];
498
499 if ( client.clientState < SCS_CONNECTED ) {
500 return -1;
501 } else {
502 return client.channel.GetOutgoingRate();
503 }
504}
505
506/*
507==================

Callers 2

SCR_DrawAsyncStatsFunction · 0.80

Calls 1

GetOutgoingRateMethod · 0.45

Tested by

no test coverage detected