mirror of
https://github.com/quizhizhe/LiteLoaderBDS-1.16.40.git
synced 2025-06-06 20:03:51 +00:00
19 lines
703 B
C++
19 lines
703 B
C++
#pragma once
|
|
#include <API/APIHelp.h>
|
|
#include <vector>
|
|
#include "MessageSystem.h"
|
|
|
|
///////////////////////// API /////////////////////////
|
|
|
|
// void NewTimeout_s(script::Global<Function> func, vector<script::Local<Value>> paras, int timeout, ScriptEngine* engine = EngineScope::currentEngine());
|
|
|
|
int NewTimeout(Local<Function> func, std::vector<Local<Value>> paras, int timeout);
|
|
int NewTimeout(Local<String> func, int timeout);
|
|
int NewInterval(Local<Function> func, std::vector<Local<Value>> paras, int timeout);
|
|
int NewInterval(Local<String> func, int timeout);
|
|
bool ClearTimeTask(int id);
|
|
|
|
|
|
///////////////////////// Func /////////////////////////
|
|
|
|
void LLSERemoveTimeTaskData(ScriptEngine* engine); |