mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-09-20 04:36:01 +08:00
[saco] Implement CNetGame::GetTime
This commit is contained in:
@ -24,6 +24,7 @@ typedef struct _GAME_SETTINGS {
|
|||||||
|
|
||||||
#include "game/game.h"
|
#include "game/game.h"
|
||||||
|
|
||||||
|
#include "../raknet/NetworkTypes.h"
|
||||||
#include "../raknet/GetTime.h"
|
#include "../raknet/GetTime.h"
|
||||||
|
|
||||||
#include "net/netgame.h"
|
#include "net/netgame.h"
|
||||||
|
@ -17,3 +17,8 @@ CNetGame::CNetGame(PCHAR szHostOrIp, int iPort,
|
|||||||
|
|
||||||
// TODO: CNetGame::CNetGame(...) .text:1000B930
|
// TODO: CNetGame::CNetGame(...) .text:1000B930
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DWORD CNetGame::GetTime()
|
||||||
|
{
|
||||||
|
return (DWORD)RakNet::GetTime();
|
||||||
|
}
|
||||||
|
@ -47,4 +47,7 @@ private:
|
|||||||
public:
|
public:
|
||||||
|
|
||||||
CNetGame(char *a2, int a3, char *a4, char *a5);
|
CNetGame(char *a2, int a3, char *a4, char *a5);
|
||||||
|
|
||||||
|
DWORD GetTime();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -257,6 +257,16 @@
|
|||||||
RelativePath="..\ttmath\ttmathuint_x86.h">
|
RelativePath="..\ttmath\ttmathuint_x86.h">
|
||||||
</File>
|
</File>
|
||||||
</Filter>
|
</Filter>
|
||||||
|
<Filter
|
||||||
|
Name="raknet"
|
||||||
|
Filter="">
|
||||||
|
<File
|
||||||
|
RelativePath="..\raknet\GetTime.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\raknet\GetTime.h">
|
||||||
|
</File>
|
||||||
|
</Filter>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\audiostream.cpp">
|
RelativePath=".\audiostream.cpp">
|
||||||
</File>
|
</File>
|
||||||
|
Reference in New Issue
Block a user