SA-MP/bot/scrtimers.h
RD42 a3810144d1 [bot] Implement CNetGame destructor
* Implements CScriptTimers destructor
* Implements `CScriptTimers::FreeMem`
* Implements CPlayerPool destructor
* Implements `CPlayerPool::Delete`
* Implements `CNetGame::sub_415EA0`
* Implements CVehiclePool destructor
* Implements `CVehiclePool::Delete`
* Implements ` CNetGame::sub_415EC0`
2024-03-14 23:24:26 +08:00

28 lines
431 B
C++

#ifndef SAMPNPC_TIMERS_H
#define SAMPNPC_TIMERS_H
struct ScriptTimer_s
{
char _gap0[279];
void* cellParams;
};
typedef std::map<DWORD, ScriptTimer_s*> DwordTimerMap;
//----------------------------------------------------------------------------------
class CScriptTimers
{
private:
DwordTimerMap m_Timers;
DWORD m_dwTimerCount;
public:
CScriptTimers();
~CScriptTimers();
void FreeMem(ScriptTimer_s* Timer);
};
#endif