-
Notifications
You must be signed in to change notification settings - Fork 0
API Host HotPatchType
Liu.Yandong.Hanks edited this page Aug 19, 2026
·
3 revisions
控制动态补丁行为的标志枚举。
Flags controlling dynamic patch behavior.
命名空间:AuroraScript.Core。类型:enum。
Namespace:
AuroraScript.Core. Kind: enum.
HotPatchType 是公开宿主类型。通过下方签名选择调用方式;对运行时对象、生命周期和异常,应由宿主在边界处明确处理。
Flags controlling dynamic patch behavior.
用补丁内容替换目标模块的全部成员。
Replaces all members of the target module with patch content.
简单示例
var value = HotPatchType.Replace;添加新成员并更新同名已有成员。
Adds new members and updates existing members with matching names.
简单示例
var value = HotPatchType.Incremental;在导入模块已加载时忽略依赖更新。
Ignores dependency updates when imported modules are already loaded.
简单示例
var value = HotPatchType.IgnoreDepends;AuroraScript.JIT 4.0.0 · Documentation Home · Repository · MIT License