forked from mirrors/kolyah35-minecraft-pe-0.6.1
the whole game
This commit is contained in:
parent
816e9060b4
commit
f0617a5d22
2069 changed files with 581500 additions and 0 deletions
23
src/raknet/RakNetTime.h
Executable file
23
src/raknet/RakNetTime.h
Executable file
|
|
@ -0,0 +1,23 @@
|
|||
#ifndef __RAKNET_TIME_H
|
||||
#define __RAKNET_TIME_H
|
||||
|
||||
#include "NativeTypes.h"
|
||||
#include "RakNetDefines.h"
|
||||
|
||||
namespace RakNet {
|
||||
|
||||
// Define __GET_TIME_64BIT if you want to use large types for GetTime (takes more bandwidth when you transmit time though!)
|
||||
// You would want to do this if your system is going to run long enough to overflow the millisecond counter (over a month)
|
||||
#if __GET_TIME_64BIT==1
|
||||
typedef uint64_t Time;
|
||||
typedef uint32_t TimeMS;
|
||||
typedef uint64_t TimeUS;
|
||||
#else
|
||||
typedef uint32_t Time;
|
||||
typedef uint32_t TimeMS;
|
||||
typedef uint64_t TimeUS;
|
||||
#endif
|
||||
|
||||
}; // namespace RakNet
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue