Shadowrun: Awakened 29 September 2011 - Build 871
RakNetTime.h
Go to the documentation of this file.
00001 #ifndef __RAKNET_TIME_H
00002 #define __RAKNET_TIME_H
00003 
00004 #include "NativeTypes.h"
00005 #include "RakNetDefines.h"
00006 
00007 namespace RakNet {
00008 
00009 // Define __GET_TIME_64BIT if you want to use large types for GetTime (takes more bandwidth when you transmit time though!)
00010 // You would want to do this if your system is going to run long enough to overflow the millisecond counter (over a month)
00011 #if __GET_TIME_64BIT==1
00012 typedef uint64_t Time;
00013 typedef uint32_t TimeMS;
00014 typedef uint64_t TimeUS;
00015 #else
00016 typedef uint32_t Time;
00017 typedef uint32_t TimeMS;
00018 typedef uint64_t TimeUS;
00019 #endif
00020 
00021 }; // namespace RakNet
00022 
00023 #endif

Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.

GNU Lesser General Public License 3 Sourceforge.net