build_xlua_with_libs
build_xlua_with_libs copied to clipboard
protobuff 不支持 int 数组,自定义数据结构体数组倒是支持
大佬有空能更新下吗?我用之前的xlua proto 通讯没问题,因为要支持webgl所以使用了您这边的。其他数据都没问题,int数组就提示如下错误。数组要是空数据也不会报错,自定义结构体数据的数组通讯也不会出错。
LuaException: net/net:188: type mismatch at offset 59, varint expected for type int32, got bytes stack traceback: [C]: in function 'pb.decode' net/net:188: in function 'net/net.Back'