Skip to content

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

@FGSEA

Description

@FGSEA

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions