perf[protobuf]: use prefix number of proto name as start protocol ID

This commit is contained in:
godotg committed 2024-01-11 19:04:15 +08:00
1 parent fe733c0386
commit 687945f7c3
8 files changed
+17 -28

No files matched your search

-2
View File
@@ -172,8 +172,6 @@ your protocol number a little more compactly, so that your protocol number will
```
syntax = "proto3";
package test.message;
// start_protocol_id = 500
// The above starting ID indicates which protocol number of the entire file starts with
message SimpleObject {
int64 aa = 1;