-
Notifications
You must be signed in to change notification settings - Fork 385
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
bad argument #1 to 'encode' (type 'Person' does not exists) #248
Labels
Comments
使用pb.loadfile成功了,但是为什么loadfile没有被作者挂出来呢 |
因为用这个库的很多人是在Unity里用的,他们不知道当前目录的概念,解释起来太麻烦,所以干脆在文档里删掉了所有文件相关的API,会用的人肯定知道怎么用。 你可以用io.open()读取你的.pb文件内容,然后用pb.load()载入 |
谢谢作者! |
请问一下,在开发环境中,一般是将所有pb load进内存,还是用到一个load一个 |
最好当然是上来就load,然后就不动了 |
好的! |
作者,请问有什么方案可以让多个lua文件,共享pb.so加载的协议吗? |
考虑一下pb.state(),unsafe里面有shared state的支持。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
使用protoc模块载入没问题,但是直接用pb.load(...)去载入xxx.pb的话就找不到
The text was updated successfully, but these errors were encountered: