[server] Add bunch of classes

This commit is contained in:
RD42 2023-10-29 22:26:43 +08:00
parent e377d429f5
commit e1c7981db5
29 changed files with 231 additions and 0 deletions

0
server/actorpool.cpp Normal file
View File

11
server/actorpool.h Normal file
View File

@ -0,0 +1,11 @@
#ifndef SAMPSRV_ACTORPOOL_H
#define SAMPSRV_ACTORPOOL_H
class CActorPool // size: WL 12004
{
private:
char _gap0[12004];
};
#endif

0
server/filterscripts.cpp Normal file
View File

11
server/filterscripts.h Normal file
View File

@ -0,0 +1,11 @@
#ifndef SAMPSRV_FILTERSCRIPTS_H
#define SAMPSRV_FILTERSCRIPTS_H
class CFilterScripts // size: WL 4148
{
private:
char _gap0[4148];
};
#endif

0
server/gamemodes.cpp Normal file
View File

11
server/gamemodes.h Normal file
View File

@ -0,0 +1,11 @@
#ifndef SAMPSRV_GAMEMODES_H
#define SAMPSRV_GAMEMODES_H
class CGameMode // size: WL 110
{
private:
char _gap0[110];
};
#endif

0
server/gangzonepool.cpp Normal file
View File

11
server/gangzonepool.h Normal file
View File

@ -0,0 +1,11 @@
#ifndef SAMPSRV_GANGZONEPOOL_H
#define SAMPSRV_GANGZONEPOOL_H
class CGangZonePool // size: WL 20480
{
private:
char _gap0[20480];
};
#endif

0
server/labelpool.cpp Normal file
View File

11
server/labelpool.h Normal file
View File

@ -0,0 +1,11 @@
#ifndef SAMPSRV_LABELPOOL_H
#define SAMPSRV_LABELPOOL_H
class CLabelPool // size: WL 37888
{
private:
char _gap0[37888];
};
#endif

0
server/menupool.cpp Normal file
View File

11
server/menupool.h Normal file
View File

@ -0,0 +1,11 @@
#ifndef SAMPSRV_MENUPOOL_H
#define SAMPSRV_MENUPOOL_H
class CMenuPool // size: WL 2024
{
private:
char _gap0[2024];
};
#endif

0
server/objectpool.cpp Normal file
View File

11
server/objectpool.h Normal file
View File

@ -0,0 +1,11 @@
#ifndef SAMPSRV_OBJECTPOOL_H
#define SAMPSRV_OBJECTPOOL_H
class CObjectPool // size: WL 8012000
{
private:
char _gap0[8012000];
};
#endif

0
server/pickuppool.cpp Normal file
View File

11
server/pickuppool.h Normal file
View File

@ -0,0 +1,11 @@
#ifndef SAMPSRV_PICKUPPOOL_H
#define SAMPSRV_PICKUPPOOL_H
class CPickupPool // size: WL 114692
{
private:
char _gap0[114692];
};
#endif

0
server/playerpool.cpp Normal file
View File

17
server/playerpool.h Normal file
View File

@ -0,0 +1,17 @@
#ifndef SAMPSRV_PLAYERPOOL_H
#define SAMPSRV_PLAYERPOOL_H
// TODO: PLAYER_SPAWN_INFO
typedef struct _PLAYER_SPAWN_INFO // size: 46
{
char _gap0[46];
} PLAYER_SPAWN_INFO;
class CPlayerPool // size: WL 199024
{
private:
char _gap[199024];
};
#endif

0
server/scrhttps.cpp Normal file
View File

11
server/scrhttps.h Normal file
View File

@ -0,0 +1,11 @@
#ifndef SAMPSRV_HTTPS_H
#define SAMPSRV_HTTPS_H
class CScriptHttps // size: 800
{
private:
char _gap0[800];
};
#endif

0
server/scrtimers.cpp Normal file
View File

15
server/scrtimers.h Normal file
View File

@ -0,0 +1,15 @@
#ifndef SAMPSRV_TIMERS_H
#define SAMPSRV_TIMERS_H
class CScriptTimers // size: W 16 L 25
{
private:
#ifdef _WIN32
char _gap[16];
#else
char _gap[25];
#endif
};
#endif

Binary file not shown.

Binary file not shown.

View File

@ -108,6 +108,12 @@
<References>
</References>
<Files>
<File
RelativePath=".\actorpool.cpp">
</File>
<File
RelativePath=".\actorpool.h">
</File>
<File
RelativePath=".\console.cpp">
</File>
@ -117,18 +123,66 @@
<File
RelativePath=".\exceptions.cpp">
</File>
<File
RelativePath=".\filterscripts.cpp">
</File>
<File
RelativePath=".\filterscripts.h">
</File>
<File
RelativePath=".\gamemodes.cpp">
</File>
<File
RelativePath=".\gamemodes.h">
</File>
<File
RelativePath=".\gangzonepool.cpp">
</File>
<File
RelativePath=".\gangzonepool.h">
</File>
<File
RelativePath=".\labelpool.cpp">
</File>
<File
RelativePath=".\labelpool.h">
</File>
<File
RelativePath=".\main.cpp">
</File>
<File
RelativePath=".\main.h">
</File>
<File
RelativePath=".\menupool.cpp">
</File>
<File
RelativePath=".\menupool.h">
</File>
<File
RelativePath=".\netgame.cpp">
</File>
<File
RelativePath=".\netgame.h">
</File>
<File
RelativePath=".\objectpool.cpp">
</File>
<File
RelativePath=".\objectpool.h">
</File>
<File
RelativePath=".\pickuppool.cpp">
</File>
<File
RelativePath=".\pickuppool.h">
</File>
<File
RelativePath=".\playerpool.cpp">
</File>
<File
RelativePath=".\playerpool.h">
</File>
<File
RelativePath=".\plugins.cpp">
</File>
@ -138,9 +192,33 @@
<File
RelativePath=".\resource.h">
</File>
<File
RelativePath=".\scrhttps.cpp">
</File>
<File
RelativePath=".\scrhttps.h">
</File>
<File
RelativePath=".\scrtimers.cpp">
</File>
<File
RelativePath=".\scrtimers.h">
</File>
<File
RelativePath=".\server.rc">
</File>
<File
RelativePath=".\textdrawpool.cpp">
</File>
<File
RelativePath=".\textdrawpool.h">
</File>
<File
RelativePath=".\vehiclepool.cpp">
</File>
<File
RelativePath=".\vehiclepool.h">
</File>
</Files>
<Globals>
</Globals>

0
server/textdrawpool.cpp Normal file
View File

11
server/textdrawpool.h Normal file
View File

@ -0,0 +1,11 @@
#ifndef SAMPSRV_TEXTDRAWPOOL_H
#define SAMPSRV_TEXTDRAWPOOL_H
class CTextDrawPool // size: WL 2072576
{
private:
char _gap0[2072576];
};
#endif

0
server/vehiclepool.cpp Normal file
View File

11
server/vehiclepool.h Normal file
View File

@ -0,0 +1,11 @@
#ifndef SAMPSRV_VEHICLEPOOL_H
#define SAMPSRV_VEHICLEPOOL_H
class CVehiclePool // size: WL 24216
{
private:
char _gap0[24216];
};
#endif