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

@@ -1,7 +1,5 @@
local ____lualib = require("lualib_bundle")
local __TS__Class = ____lualib.__TS__Class
local ____exports = {}
____exports.InventorySystem = __TS__Class()
local ____exports = __module.env
____exports.InventorySystem = __TS__DefineClass("InventorySystem", __module)
local InventorySystem = ____exports.InventorySystem
InventorySystem.name = "InventorySystem"
function InventorySystem.prototype.____constructor(self, capacity)
@@ -158,4 +156,5 @@ function InventorySystem.prototype.Deserialize(self, data)
self.slots[idx] = {itemId = s.itemId, count = s.count}
end
end
return ____exports
function __module.UpdateImports()
end