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