LoadExport
LoadExport 函数用于加载游戏导出的符号。
[!IMPORTANT] 此函数不支持未修饰的符号名称。
参数
| # | 类型 | 说明 |
|---|---|---|
| string | any | 符号名称。 |
示例
-- If the game exports GUObjectArray, like it does when UE is built modularly, this retrieves its address.
local GUObjectArray = LoadExport("?GUObjectArray@@3VFUObjectArray@@A")
原文:docs/lua-api/global-functions/loadexport.md · 固定提交 560411f18512 · 来源与 MIT 许可