Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

全局函数

分组函数
查找对象FindFirstOf、FindAllOf、FindObject、StaticFindObject、CreateInvalidObject
加载资源LoadAsset
钩子RegisterHook、UnregisterHook
定时与排队ExecuteWithDelay、ExecuteInGameThread、LoopAsync、NotifyOnNewObject
快速通道FastLoop,以及 NotifyOnNewObject 的第三个参数
多线程Worker:独立线程、独立 Lua 状态、消息通信;ExecuteAsync
UE4SS 兼容延迟动作句柄、生命周期钩子、ForEachUObject、StaticConstructObject 等,见 UE4SS 兼容
输出print(...):等价于 Log.info,见 Log

在模组里,RegisterHook、ExecuteWithDelay、ExecuteInGameThread、LoopAsync、NotifyOnNewObject、FastLoop、ExecuteAsync、Worker 带有模组标记:模组被禁用或重新加载时,它注册的东西自动撤销。