summaryrefslogtreecommitdiff
path: root/src/net/packetcounters.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-10-07 22:28:26 +0300
committerAndrei Karas <akaras@inbox.ru>2011-10-07 22:28:26 +0300
commitaf98cb5dea5644e0d95a5bf41c03655e4ab808ef (patch)
tree02cf26d058760b25412fea71d1fb25c3c1626570 /src/net/packetcounters.h
parent8bbb2cbef9ab7a8c095ef4cb0bfc29cd26c62213 (diff)
downloadManaVerse-af98cb5dea5644e0d95a5bf41c03655e4ab808ef.tar.gz
ManaVerse-af98cb5dea5644e0d95a5bf41c03655e4ab808ef.tar.bz2
ManaVerse-af98cb5dea5644e0d95a5bf41c03655e4ab808ef.tar.xz
ManaVerse-af98cb5dea5644e0d95a5bf41c03655e4ab808ef.zip
Fix code style.
Diffstat (limited to 'src/net/packetcounters.h')
-rw-r--r--src/net/packetcounters.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/net/packetcounters.h b/src/net/packetcounters.h
index 1af928be8..35d5d64bc 100644
--- a/src/net/packetcounters.h
+++ b/src/net/packetcounters.h
@@ -26,15 +26,22 @@
class PacketCounters
{
public:
-// PacketCounters();
static void incInBytes(int cnt);
+
static void incInPackets();
+
static int getInBytes();
+
static int getInPackets();
+
static void incOutBytes(int cnt);
+
static void incOutPackets();
+
static int getOutBytes();
+
static int getOutPackets();
+
static void update();
static int mInCurrentSec;