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:
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.TimerScheduler = __TS__Class()
|
||||
local ____exports = __module.env
|
||||
____exports.TimerScheduler = __TS__DefineClass("TimerScheduler", __module)
|
||||
local TimerScheduler = ____exports.TimerScheduler
|
||||
TimerScheduler.name = "TimerScheduler"
|
||||
function TimerScheduler.prototype.____constructor(self)
|
||||
@@ -123,7 +121,7 @@ function TimerScheduler.prototype.GetActiveCount(self)
|
||||
end
|
||||
return count
|
||||
end
|
||||
____exports.CooldownTracker = __TS__Class()
|
||||
____exports.CooldownTracker = __TS__DefineClass("CooldownTracker", __module)
|
||||
local CooldownTracker = ____exports.CooldownTracker
|
||||
CooldownTracker.name = "CooldownTracker"
|
||||
function CooldownTracker.prototype.____constructor(self)
|
||||
@@ -156,4 +154,5 @@ function CooldownTracker.prototype.Tick(self, dt)
|
||||
end
|
||||
end
|
||||
end
|
||||
return ____exports
|
||||
function __module.UpdateImports()
|
||||
end
|
||||
Reference in new issue
Block a user