mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-11-27 08:20:35 +00:00
25 lines
483 B
C++
25 lines
483 B
C++
|
|
#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;
|
|
}
|