[server] Implement CPlayerPool destructor

* Add CPlayerPool::Delete() stub
This commit is contained in:
RD42 2023-12-13 23:58:15 +08:00
parent 386e232b0d
commit 05c50379c2
2 changed files with 16 additions and 0 deletions

View File

@ -17,3 +17,16 @@ CPlayerPool::CPlayerPool()
field_FA8 = 0;
field_3096C = 0;
}
CPlayerPool::~CPlayerPool()
{
for(PLAYERID playerId = 0; playerId < MAX_PLAYERS; playerId++) {
Delete(playerId,0);
}
}
BOOL CPlayerPool::Delete(PLAYERID playerId, BYTE byteReason)
{
// TODO: CPlayerPool::Delete W .text:00466570 L .text:080D0A90
return FALSE;
}

View File

@ -31,6 +31,9 @@ private:
public:
CPlayerPool();
~CPlayerPool();
BOOL Delete(PLAYERID playerId, BYTE byteReason);
};