跳到主要内容

auto_register_scripts

自动注册脚本函数(底层限制,不太精准,但是可用)

抓取最上层对象的public方法自动注册脚本函数

脚本函数名称为:<prefix>.<func_name>

仅在所有public方法都是需要注册的脚本函数时使用

声明

void auto_register_scripts(string prefix)

参数

参数名描述
prefix脚本函数前缀

返回值

使用方式

返回文档