增加打包图片函数
This commit is contained in:
@@ -347,6 +347,7 @@ namespace dl
|
||||
luabridge::overload<std::string_view, size_t>(&Factory::CreateSprite),
|
||||
luabridge::overload<const SpriteID&>(&Factory::CreateSprite))
|
||||
.addFunction("SetPath", &Factory::SetPath)
|
||||
.addFunction("CompressMir2Res", &Factory::CompressMir2Res)
|
||||
.endClass();
|
||||
|
||||
auto result = luabridge::push(L, g_factory);
|
||||
|
||||
Reference in New Issue
Block a user