[server] CNetGame formatting

This commit is contained in:
RD42
2024-04-11 22:57:48 +08:00
parent 50fb6ade91
commit ccaba5e18e

View File

@ -7,6 +7,7 @@
class CNetGame // size: W: 14808 L: 14816 class CNetGame // size: W: 14808 L: 14816
{ {
private: private:
CGameMode *m_pGameMode; CGameMode *m_pGameMode;
CFilterScripts *m_pFilterScripts; CFilterScripts *m_pFilterScripts;
CPlayerPool *m_pPlayerPool; CPlayerPool *m_pPlayerPool;
@ -18,15 +19,20 @@ private:
CLabelPool *m_pLabelPool; CLabelPool *m_pLabelPool;
CGangZonePool *m_pGangZonePool; CGangZonePool *m_pGangZonePool;
CActorPool *m_pActorPool; CActorPool *m_pActorPool;
int m_iCurrentGameModeIndex; int m_iCurrentGameModeIndex;
int m_iCurrentGameModeRepeat; int m_iCurrentGameModeRepeat;
BOOL m_bFirstGameModeLoaded; BOOL m_bFirstGameModeLoaded;
CScriptHttps *m_pScriptHttps; CScriptHttps *m_pScriptHttps;
CScriptTimers *m_pScriptTimers; CScriptTimers *m_pScriptTimers;
RakServerInterface *m_pRak; RakServerInterface *m_pRak;
int m_iLastServerTickUpdate; int m_iLastServerTickUpdate;
int m_iServerTickCount; int m_iServerTickCount;
int m_iServerTickRate; int m_iServerTickRate;
BOOL m_bLanMode; BOOL m_bLanMode;
int m_iShowPlayerMarkers; int m_iShowPlayerMarkers;
bool m_bShowNameTags; bool m_bShowNameTags;
@ -50,11 +56,10 @@ private:
bool m_bLimitPlayerMarkerRadius; bool m_bLimitPlayerMarkerRadius;
float m_fPlayerMarkerRadius; float m_fPlayerMarkerRadius;
BOOL m_bVehicleFriendlyFire; BOOL m_bVehicleFriendlyFire;
#ifndef WIN32 #ifndef WIN32
double m_dElapsedTime; double m_dElapsedTime;
#endif #endif
int m_iSpawnsAvailable;
PLAYER_SPAWN_INFO m_AvailableSpawns[319];
public: public:
@ -74,6 +79,9 @@ public:
void LoadBanList(); void LoadBanList();
// CLASS SYSTEM
int m_iSpawnsAvailable;
PLAYER_SPAWN_INFO m_AvailableSpawns[MAX_SPAWNS];
DWORD GetTime(); DWORD GetTime();
}; };