14#ifndef DL_DISABLE_RENDER
32 std::string_view
GetName()
const {
return _name; }
40 std::string _versionType;
41 std::array<size_t, 3> _versionCode;
45 std::string _pathRoot;
47 bool _load_config(
json& j);
72 return _pathCurrentMod;
75 const std::vector<Mod>&
GetAll() {
return _allMod; }
77 std::vector<Mod> _allMod;
80 std::string _pathCurrentMod;
83extern ModManager*
g_mod;
std::string_view GetName() const
std::string_view GetPathRoot() const
std::string GetPathCurrentMod()
返回当前上下文的mod根路径
const std::vector< Mod > & GetAll()
void LoadMod(std::string_view path)
加载模组
void CallLuaScript(std::string_view path_name)
调用每个模组的lua脚本
void LoadModAll(std::string_view path)