mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-09-20 04:36:01 +08:00
[bot] Update CNetGame::Init
This commit is contained in:
@ -88,6 +88,15 @@ void CNetGame::Init(PCHAR szHostOrIp, int iPort,
|
||||
m_pPlayerPool->SetLocalPlayerName(szPlayerName);
|
||||
m_pVehiclePool = new CVehiclePool();
|
||||
|
||||
m_pRakClient = RakNetworkFactory::GetRakClientInterface();
|
||||
|
||||
RegisterRPCs(m_pRakClient);
|
||||
RegisterScriptRPCs(m_pRakClient);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// TODO: CNetGame::Init (W: 00416490 L: 080AD126)
|
||||
|
||||
/*
|
||||
|
@ -6,8 +6,10 @@
|
||||
class CNetGame // size: 910 bytes
|
||||
{
|
||||
private:
|
||||
int field_0; // highly m_pRakClient
|
||||
RakClientInterface *m_pRakClient;
|
||||
CPlayerPool *m_pPlayerPool;
|
||||
|
||||
|
||||
CVehiclePool* m_pVehiclePool;
|
||||
int m_iGameState;
|
||||
int field_10;
|
||||
|
Reference in New Issue
Block a user