Files

12 lines
360 B
C
Raw Permalink Normal View History

2023-10-02 18:04:54 +08:00
#pragma once
#include "head.h"
namespace ScriptEngine {
2023-10-03 00:25:23 +08:00
extern std::map<std::string, lua_State*> pluginEnvs;
extern std::shared_mutex mutex_pluginEnvs;
extern std::shared_mutex mutex_pluginEnvs;
auto Init() -> void;
auto callFunction(const char* funcName) -> int;
auto releaseLuaScripts() -> void;
auto reloadLuaScripts() -> void;
} // namespace ScriptEngine