增加serverfunctionhash函数

This commit is contained in:
Huoji's
2023-10-03 00:25:23 +08:00
parent 88f121e295
commit f08e0b90fa
21 changed files with 554 additions and 101 deletions

View File

@@ -1,6 +1,11 @@
#pragma once
#include "head.h"
namespace ScriptEngine {
auto Init() -> void;
auto callFunction(const char* funcName) -> int;
}
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