diff options
author | madmaxoft <github@xoft.cz> | 2013-08-30 10:10:56 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-08-30 10:10:56 +0200 |
commit | 3c0e08ee71221624ace7778e84ad80212c1615c1 (patch) | |
tree | bea0dfabb59c4c998a58e25016552ec61e51149d /Tools/ProtoProxy/Connection.h | |
parent | Rewritten cTimer not to use heap allocation. (diff) | |
download | cuberite-3c0e08ee71221624ace7778e84ad80212c1615c1.tar cuberite-3c0e08ee71221624ace7778e84ad80212c1615c1.tar.gz cuberite-3c0e08ee71221624ace7778e84ad80212c1615c1.tar.bz2 cuberite-3c0e08ee71221624ace7778e84ad80212c1615c1.tar.lz cuberite-3c0e08ee71221624ace7778e84ad80212c1615c1.tar.xz cuberite-3c0e08ee71221624ace7778e84ad80212c1615c1.tar.zst cuberite-3c0e08ee71221624ace7778e84ad80212c1615c1.zip |
Diffstat (limited to '')
-rw-r--r-- | Tools/ProtoProxy/Connection.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Tools/ProtoProxy/Connection.h b/Tools/ProtoProxy/Connection.h index a310f62ae..c30a28727 100644 --- a/Tools/ProtoProxy/Connection.h +++ b/Tools/ProtoProxy/Connection.h @@ -9,8 +9,8 @@ #pragma once -#include <time.h> #include "ByteBuffer.h" +#include "../../source/OSSupport/Timer.h" @@ -35,7 +35,8 @@ class cConnection SOCKET m_ClientSocket; SOCKET m_ServerSocket; - clock_t m_BeginTick; // Tick when the relative time was first retrieved (used for GetRelativeTime()) + cTimer m_Timer; + long long m_BeginTick; // Tick when the relative time was first retrieved (used for GetRelativeTime()) enum eConnectionState { |