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

proto3 文件内需要改为 proto2 #432

Closed
jiangjiali opened this issue Nov 2, 2022 · 1 comment
Closed

proto3 文件内需要改为 proto2 #432

jiangjiali opened this issue Nov 2, 2022 · 1 comment

Comments

@jiangjiali
Copy link

jiangjiali commented Nov 2, 2022

syntax = "proto3";
package JEngine.Examples;

message DataClass {
optional int32 id = 1 [default = 0];
optional string name = 2;
optional int64 money = 3 [default = 0];
optional bool gm = 4 [default = false];
map <string, string> data = 5;
}

改后

syntax = "proto2";
package JEngine.Examples;

message DataClass {
optional int32 id = 1 [default = 0];
optional string name = 2;
optional int64 money = 3 [default = 0];
optional bool gm = 4 [default = false];
map <string, string> data = 5;
}
@JasonXuDeveloper
Copy link
Owner

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