Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

protobuff 不支持 int 数组,自定义数据结构体数组倒是支持 #55

Open
FGSEA opened this issue Oct 5, 2024 · 1 comment

Comments

@FGSEA
Copy link

FGSEA commented Oct 5, 2024

大佬有空能更新下吗?我用之前的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'

@chexiongsheng
Copy link
Owner

你fork然后自己更新就可以了。然后再Actions页面可以自己一键全平台构建。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants