Tencent / sluaunreal

lua dev plugin for unreal engine 4 or 5
Other
1.71k stars 411 forks source link

tag2.1.2 http c++绑定不能用了 #571

Closed gzbin7878at2016 closed 6 months ago

gzbin7878at2016 commented 6 months ago

我看示例代码注释掉了 --[[ req:OnRequestProgress():Bind(function(req,sent,recv) print("http",req,sent,recv) end) req:OnProcessRequestComplete():Bind(function(req,resp,ret) print("http complete",req,resp,ret) end) ]] 请问我旧的插件怎么升级这个功能

zjhongxian commented 6 months ago

这个好像是高版本的UE有函数重载,当时没有花时间去解决,可以考虑用UObject包装下它,通过反射去使用它

gzbin7878at2016 commented 6 months ago

好的,谢谢