diff options
author | David Athay <ko2fan@gmail.com> | 2008-11-20 14:52:22 +0000 |
---|---|---|
committer | David Athay <ko2fan@gmail.com> | 2008-11-20 14:52:22 +0000 |
commit | 1a6f01a13ab9267fd7de46592bbb3107311f8709 (patch) | |
tree | beb960d2439bafae4b0c4835777241a33fba9fcb /src/game-server/gamehandler.hpp | |
parent | 8481413ea17177945d3d280b1518eb6f1f25cd5d (diff) | |
download | manaserv-1a6f01a13ab9267fd7de46592bbb3107311f8709.tar.gz manaserv-1a6f01a13ab9267fd7de46592bbb3107311f8709.tar.bz2 manaserv-1a6f01a13ab9267fd7de46592bbb3107311f8709.tar.xz manaserv-1a6f01a13ab9267fd7de46592bbb3107311f8709.zip |
Made Bandwidth Monitor Global
Diffstat (limited to 'src/game-server/gamehandler.hpp')
-rw-r--r-- | src/game-server/gamehandler.hpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/game-server/gamehandler.hpp b/src/game-server/gamehandler.hpp index 42ba8cbc..0ae0d495 100644 --- a/src/game-server/gamehandler.hpp +++ b/src/game-server/gamehandler.hpp @@ -118,16 +118,6 @@ class GameHandler: public ConnectionHandler */ GameClient *getClientByNameSlow(std::string const &); - /** - * Calculate the total amount of bandwidth sent to all clients - */ - int calculateTotalOut(); - - /** - * Calculate the total amount of bandwidth received from all clients - */ - int calculateTotalIn(); - protected: NetComputer *computerConnected(ENetPeer *); void computerDisconnected(NetComputer *); @@ -164,9 +154,6 @@ class GameHandler: public ConnectionHandler */ TokenCollector<GameHandler, GameClient *, Character *> mTokenCollector; - int mTotalBandwidthOut; - int mTotalBandwidthIn; - }; extern GameHandler *gameHandler; |