feat: upgrade to ts2lua-unreal v0.3.0 and refactor Game classes to pure C++ callback + TS composition hot-reload

This commit is contained in:
szy73711 committed 2026-11-30 02:42:51 +08:00
1 parent 4ad4a8f36f
commit 783dccf53d
64 files changed
+2368 -714

No files matched your search

+4 -5
View File
@@ -1,7 +1,5 @@
local ____lualib = require("lualib_bundle")
local __TS__Class = ____lualib.__TS__Class
local ____exports = {}
____exports.ObjectPool = __TS__Class()
local ____exports = __module.env
____exports.ObjectPool = __TS__DefineClass("ObjectPool", __module)
local ObjectPool = ____exports.ObjectPool
ObjectPool.name = "ObjectPool"
function ObjectPool.prototype.____constructor(self, options)
@@ -58,4 +56,5 @@ end
function ObjectPool.prototype.GetTotalCreated(self)
return self.totalCreated
end
return ____exports
function __module.UpdateImports()
end