mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
a3810144d1
* 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`
28 lines
431 B
C++
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
|