Closed xiewendan closed 2 years ago
c++ bool Send(const FArrayBuffer& Buffer, int32& BytesSent)
bool Send(const FArrayBuffer& Buffer, int32& BytesSent)
在ts中定义了BytesSend,调用如下: let BytesSent = 0; bool bSend = Send(buffer, $ref(BytesSent)); 这里,BytesSent在ts中没办法返回,依然为0,但在c++层,已经修改了。
let BytesSent = 0; bool bSend = Send(buffer, $ref(BytesSent));
想问一下,支持number的引用吗?
c++
bool Send(const FArrayBuffer& Buffer, int32& BytesSent)
在ts中定义了BytesSend,调用如下:
let BytesSent = 0; bool bSend = Send(buffer, $ref(BytesSent));
这里,BytesSent在ts中没办法返回,依然为0,但在c++层,已经修改了。想问一下,支持number的引用吗?