#pragma once #include #include #include "MessageSystem.h" ///////////////////////// API ///////////////////////// // void NewTimeout_s(script::Global func, vector> paras, int timeout, ScriptEngine* engine = EngineScope::currentEngine()); int NewTimeout(Local func, std::vector> paras, int timeout); int NewTimeout(Local func, int timeout); int NewInterval(Local func, std::vector> paras, int timeout); int NewInterval(Local func, int timeout); bool ClearTimeTask(int id); ///////////////////////// Func ///////////////////////// void LLSERemoveTimeTaskData(ScriptEngine* engine);