00001 00002 00003 00004 00005 00006 00007 00008 00009 #ifndef __GET_TIME_H 00010 #define __GET_TIME_H 00011 00012 #include "Export.h" 00013 #include "RakNetTime.h" // For RakNetTime 00014 00017 namespace RakNet 00018 { 00022 RakNetTime RAK_DLL_EXPORT GetTime( void ); 00023 00026 RakNetTimeUS RAK_DLL_EXPORT GetTimeNS( void ); 00027 00028 // Renames, for RakNet 4 00029 inline RakNetTime RAK_DLL_EXPORT GetTimeMS( void ) {return GetTime();} 00030 inline RakNetTimeUS RAK_DLL_EXPORT GetTimeUS( void ) {return GetTimeNS();} 00031 } 00032 00033 #endif