Changeset 7823 for code/branches/network6/src/orxonox/infos/HumanPlayer.cc
- Timestamp:
- Dec 28, 2010, 4:46:42 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network6/src/orxonox/infos/HumanPlayer.cc
r6417 r7823 32 32 #include "core/ConfigValueIncludes.h" 33 33 #include "core/GameMode.h" 34 #include "network/ClientInformation.h"34 // #include "network/ClientInformation.h" 35 35 #include "network/Host.h" 36 36 #include "controllers/HumanController.h" … … 144 144 float HumanPlayer::getPing() const 145 145 { 146 return static_cast<float>(ClientInformation::findClient(this->getClientID())->getRTT()); 146 // return static_cast<float>(ClientInformation::findClient(this->getClientID())->getRTT()); 147 return 0.; //TODO: reimplement this 147 148 } 148 149 149 150 float HumanPlayer::getPacketLossRatio() const 150 151 { 151 return static_cast<float>(ClientInformation::findClient(this->getClientID())->getPacketLoss()); 152 // return static_cast<float>(ClientInformation::findClient(this->getClientID())->getPacketLoss()); 153 return 0.; //TODO: reimplement this 152 154 } 153 155
Note: See TracChangeset
for help on using the changeset viewer.