00001 #ifndef __RAKNET_TIME_H 00002 #define __RAKNET_TIME_H 00003 00004 #include "NativeTypes.h" 00005 #include "RakNetDefines.h" 00006 00007 // Define __GET_TIME_64BIT if you want to use large types for GetTime (takes more bandwidth when you transmit time though!) 00008 // You would want to do this if your system is going to run long enough to overflow the millisecond counter (over a month) 00009 #if __GET_TIME_64BIT==1 00010 typedef uint64_t RakNetTime; 00011 typedef uint64_t RakNetTimeMS; 00012 typedef uint64_t RakNetTimeUS; 00013 #else 00014 typedef uint32_t RakNetTime; 00015 typedef uint32_t RakNetTimeMS; 00016 typedef uint64_t RakNetTimeUS; 00017 #endif 00018 00019 #endif