SA-MP/bot/scrtimers.h

28 lines
431 B
C
Raw Normal View History

2023-10-31 21:31:16 +08:00
2024-01-30 21:52:00 +08:00
#ifndef SAMPNPC_TIMERS_H
#define SAMPNPC_TIMERS_H
struct ScriptTimer_s
{
char _gap0[279];
void* cellParams;
2024-01-30 21:52:00 +08:00
};
typedef std::map<DWORD, ScriptTimer_s*> DwordTimerMap;
//----------------------------------------------------------------------------------
class CScriptTimers
2023-10-31 21:31:16 +08:00
{
private:
2024-01-30 21:52:00 +08:00
DwordTimerMap m_Timers;
DWORD m_dwTimerCount;
2023-10-31 21:31:16 +08:00
public:
CScriptTimers();
~CScriptTimers();
2024-01-30 21:52:00 +08:00
void FreeMem(ScriptTimer_s* Timer);
2024-01-30 21:52:00 +08:00
};
#endif