SA-MP/saco/svrnetstats.cpp

25 lines
483 B
C++
Raw Permalink Normal View History

2024-03-27 23:27:18 +08:00
#include "main.h"
#include <stdio.h>
char szSvrDispBuf[16384];
char szSvrStatBuf[16384];
char szSvrDrawLine[1024];
RakNetStatisticsStruct RakServerStats;
CSvrNetStats::CSvrNetStats(IDirect3DDevice9 *pD3DDevice)
{
m_dwLastUpdateTick = GetTickCount();
m_dwLastTotalBytesRecv = 0;
m_dwLastTotalBytesSent = 0;
m_dwBPSDownload = 0;
m_dwBPSUpload = 0;
m_pD3DDevice = pD3DDevice;
memset(&RakServerStats,0,sizeof(RakNetStatisticsStruct));
}
void CSvrNetStats::Draw()
{
return;
}