chexiongsheng / puerts_unreal_demo

unreal demo for puerts
MIT License
178 stars 80 forks source link

整型引用 #33

Closed xiewendan closed 2 years ago

xiewendan commented 2 years ago

c++ bool Send(const FArrayBuffer& Buffer, int32& BytesSent)

在ts中定义了BytesSend,调用如下: let BytesSent = 0; bool bSend = Send(buffer, $ref(BytesSent)); 这里,BytesSent在ts中没办法返回,依然为0,但在c++层,已经修改了。

想问一下,支持number的引用吗?