[saco] Implement CNetGame::GetTime

This commit is contained in:
RD42 2024-01-06 23:39:04 +08:00
parent 94a25da90d
commit b4233b91f5
4 changed files with 19 additions and 0 deletions

View File

@ -24,6 +24,7 @@ typedef struct _GAME_SETTINGS {
#include "game/game.h"
#include "../raknet/NetworkTypes.h"
#include "../raknet/GetTime.h"
#include "net/netgame.h"

View File

@ -17,3 +17,8 @@ CNetGame::CNetGame(PCHAR szHostOrIp, int iPort,
// TODO: CNetGame::CNetGame(...) .text:1000B930
}
DWORD CNetGame::GetTime()
{
return (DWORD)RakNet::GetTime();
}

View File

@ -47,4 +47,7 @@ private:
public:
CNetGame(char *a2, int a3, char *a4, char *a5);
DWORD GetTime();
};

View File

@ -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>