SA-MP/bot/net/playerpool.h

26 lines
466 B
C
Raw Normal View History

2023-10-31 21:31:16 +08:00
#pragma once
2023-10-31 21:31:16 +08:00
class CPlayerPool // size: 41035
{
private:
BOOL m_bPlayerSlotState[MAX_PLAYERS];
char _gapFA0[2];
CHAR m_szLocalPlayerName[MAX_PLAYER_NAME+1];
char gapFBB[25000];
2023-10-31 21:31:16 +08:00
int field_7163;
int field_7167[1000];
int field_8107;
int field_810B[1000];
char gap90AB[4000];
public:
2023-11-18 00:00:52 +08:00
void SetLocalPlayerName(PCHAR szName) { strcpy(m_szLocalPlayerName,szName); };
2023-11-18 00:00:52 +08:00
2023-10-31 21:31:16 +08:00
CPlayerPool();
~CPlayerPool();
BOOL Delete(PLAYERID playerId, BYTE byteReason);
2023-10-31 21:31:16 +08:00
};