[saco] Rename CunkClass6 to CNetStats

This commit is contained in:
RD42 2024-04-21 21:19:10 +08:00
parent 49a8482549
commit e9fad33c84
5 changed files with 12 additions and 12 deletions

View File

@ -41,7 +41,7 @@ CLabel *pLabel=NULL;
CUnkClass10 *pUnkClass10=NULL; CUnkClass10 *pUnkClass10=NULL;
CUnkClass11 *pUnkClass11=NULL; CUnkClass11 *pUnkClass11=NULL;
CUnkClass12 *pUnkClass12=NULL; CUnkClass12 *pUnkClass12=NULL;
CUnkClass6 *pUnkClass6=NULL; CNetStats *pNetStats=NULL;
CSvrNetStats *pSvrNetStats=NULL; CSvrNetStats *pSvrNetStats=NULL;
CUnkClass7 *pUnkClass7=NULL; CUnkClass7 *pUnkClass7=NULL;
CUnkClass8 *pUnkClass8=NULL; CUnkClass8 *pUnkClass8=NULL;
@ -355,7 +355,7 @@ void DoInitStuff()
pUnkClass3 = new CUnkClass3(pD3DDevice); pUnkClass3 = new CUnkClass3(pD3DDevice);
pUnkClass4 = new CUnkClass4(pD3DDevice); pUnkClass4 = new CUnkClass4(pD3DDevice);
pUnkClass5 = new CUnkClass5(pD3DDevice); pUnkClass5 = new CUnkClass5(pD3DDevice);
pUnkClass6 = new CUnkClass6(pD3DDevice); pNetStats = new CNetStats(pD3DDevice);
pSvrNetStats = new CSvrNetStats(pD3DDevice); pSvrNetStats = new CSvrNetStats(pD3DDevice);
pUnkClass7 = new CUnkClass7(pD3DDevice); pUnkClass7 = new CUnkClass7(pD3DDevice);
pUnkClass8 = new CUnkClass8(); pUnkClass8 = new CUnkClass8();

View File

@ -60,6 +60,7 @@ typedef struct _GAME_SETTINGS {
#include "spawnscreen.h" #include "spawnscreen.h"
#include "playertags.h" #include "playertags.h"
#include "label.h" #include "label.h"
#include "netstats.h"
#include "svrnetstats.h" #include "svrnetstats.h"
#include "audiostream.h" #include "audiostream.h"
#include "archive/ArchiveFS.h" #include "archive/ArchiveFS.h"
@ -69,7 +70,6 @@ typedef struct _GAME_SETTINGS {
#include "unkclass3.h" #include "unkclass3.h"
#include "unkclass4.h" #include "unkclass4.h"
#include "unkclass5.h" #include "unkclass5.h"
#include "unkclass6.h"
#include "unkclass7.h" #include "unkclass7.h"
#include "unkclass8.h" #include "unkclass8.h"
#include "unkclass10.h" #include "unkclass10.h"

View File

@ -1,7 +1,7 @@
#include "main.h" #include "main.h"
CUnkClass6::CUnkClass6(IDirect3DDevice9 *pD3DDevice) CNetStats::CNetStats(IDirect3DDevice9 *pD3DDevice)
{ {
field_8 = GetTickCount(); field_8 = GetTickCount();
field_4 = 0; field_4 = 0;

View File

@ -1,7 +1,7 @@
#pragma once #pragma once
class CUnkClass6 class CNetStats
{ {
private: private:
int field_0; int field_0;
@ -12,6 +12,6 @@ private:
IDirect3DDevice9* m_pD3DDevice; IDirect3DDevice9* m_pD3DDevice;
public: public:
CUnkClass6(IDirect3DDevice9 *pD3DDevice); CNetStats(IDirect3DDevice9 *pD3DDevice);
}; };

View File

@ -621,12 +621,6 @@
<File <File
RelativePath=".\unkclass5.h"> RelativePath=".\unkclass5.h">
</File> </File>
<File
RelativePath=".\unkclass6.cpp">
</File>
<File
RelativePath=".\unkclass6.h">
</File>
<File <File
RelativePath=".\unkclass7.cpp"> RelativePath=".\unkclass7.cpp">
</File> </File>
@ -748,6 +742,12 @@
<File <File
RelativePath=".\mod.h"> RelativePath=".\mod.h">
</File> </File>
<File
RelativePath=".\netstats.cpp">
</File>
<File
RelativePath=".\netstats.h">
</File>
<File <File
RelativePath=".\playertags.cpp"> RelativePath=".\playertags.cpp">
</File> </File>