SA-MP/bot/net/netgame.h
2023-11-18 00:00:52 +08:00

58 lines
1004 B
C++

#pragma once
//----------------------------------------------------
class CNetGame // size: 910 bytes
{
private:
int field_0; // highly m_pRakClient
CPlayerPool* m_pPlayerPool;
CVehiclePool* m_pVehiclePool;
int m_iGameState;
int field_10;
int field_14;
char _gap18[6];
char field_1E; // m_byteWorldTime ?
char field_1F;
char field_20;
char _gap21[16];
char field_31;
char _gap32[2];
int field_34;
int field_38;
char field_3C;
char field_3D;
char field_3E;
char _gap3F;
char field_40;
char _gap41[9];
int field_4A[100];
char _gap1DA[4];
int field_1DE;
int field_1E2;
char _gap1E6[12];
int field_1F2;
char _gap1F6[4];
int field_1FA;
int field_1FE;
char m_szHostName[256];
char m_szHostOrIp[128];
int m_iPort;
CNPCMode* m_pNPCMode;
CScriptTimers* m_pScriptTimers;
public:
CNetGame();
~CNetGame();
void Init(PCHAR szHostOrIp,int iPort,PCHAR szPlayerName,PCHAR szPass,PCHAR szNpcMode);
void Process();
};
//----------------------------------------------------