- Run
scripts/serverto re-generate Protobuf files. No custom commands. - The process uses
protocand the relevant plugins to generate code for both server and client sides. - The process does not automatically exit, so ensure to terminate it manually after generation is complete. Wait for the output "Server started" and then stop the process.
- Always commit all the generated files, even when there are just comment changes.
分类: 开发与工程无需 API Key
protoc
根据protobuf源文件重新生成项目的代码。在.proto文件发生更改时使用。
微信扫一扫