mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-01-04 00:23:22 +08:00
[bot] Implement CScriptTimers ctor
This commit is contained in:
parent
3a3b19d8fc
commit
30614e0b23
@ -32,6 +32,9 @@ typedef struct _GAME_SETTINGS {
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
#include <map>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
#include "../raknet/RakClientInterface.h"
|
#include "../raknet/RakClientInterface.h"
|
||||||
#include "../raknet/RakNetworkFactory.h"
|
#include "../raknet/RakNetworkFactory.h"
|
||||||
#include "../raknet/PacketEnumerations.h"
|
#include "../raknet/PacketEnumerations.h"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
#include "scrtimers.h"
|
#include "main.h"
|
||||||
|
|
||||||
CScriptTimers::CScriptTimers()
|
CScriptTimers::CScriptTimers()
|
||||||
{
|
{
|
||||||
// TODO: CScriptTimers::CScriptTimers W: 0041D700 L: 080B8036
|
m_dwTimerCount = 0;
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,24 @@
|
|||||||
|
|
||||||
class CScriptTimers // size W 16/L 25
|
#ifndef SAMPNPC_TIMERS_H
|
||||||
|
#define SAMPNPC_TIMERS_H
|
||||||
|
|
||||||
|
struct ScriptTimer_s
|
||||||
|
{
|
||||||
|
char _gap0[283];
|
||||||
|
};
|
||||||
|
|
||||||
|
typedef std::map<DWORD, ScriptTimer_s*> DwordTimerMap;
|
||||||
|
|
||||||
|
//----------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
class CScriptTimers
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
DwordTimerMap m_Timers;
|
||||||
|
DWORD m_dwTimerCount;
|
||||||
public:
|
public:
|
||||||
CScriptTimers();
|
CScriptTimers();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user