2023-10-29 22:26:43 +08:00
|
|
|
|
|
|
|
#ifndef SAMPSRV_GANGZONEPOOL_H
|
|
|
|
#define SAMPSRV_GANGZONEPOOL_H
|
|
|
|
|
2024-09-21 21:56:34 +08:00
|
|
|
//----------------------------------------------------
|
|
|
|
|
|
|
|
class CGangZonePool
|
2023-10-29 22:26:43 +08:00
|
|
|
{
|
|
|
|
private:
|
2024-09-21 21:56:34 +08:00
|
|
|
float m_fGangZone[MAX_GANG_ZONES][4];
|
|
|
|
BOOL m_bSlotState[MAX_GANG_ZONES];
|
2023-11-24 23:35:01 +08:00
|
|
|
public:
|
|
|
|
CGangZonePool();
|
|
|
|
~CGangZonePool() {};
|
2024-09-21 21:56:34 +08:00
|
|
|
WORD New(float fMinX, float fMinY, float fMaxX, float fMaxY);
|
2024-09-21 22:00:57 +08:00
|
|
|
void Delete(WORD wZone);
|
2024-09-21 22:22:06 +08:00
|
|
|
void ShowForPlayer(PLAYERID playerId, WORD wZone, DWORD dwColor);
|
2023-10-29 22:26:43 +08:00
|
|
|
};
|
|
|
|
|
2024-09-21 21:56:34 +08:00
|
|
|
//----------------------------------------------------
|
|
|
|
|
2023-10-29 22:26:43 +08:00
|
|
|
#endif
|