hpds_net_framework/examples/comm/protobuf/test.proto

23 lines
339 B
Protocol Buffer
Raw Permalink Normal View History

2022-08-03 16:55:40 +08:00
syntax = "proto3";
option go_package = ".;protobuf";
// protoc --go_out=. *.proto
message hello {
string hello = 1;
}
message cs_start_frame {
}
message cs_end_frame {
}
// 移动
message cs_move {
float fromX = 1;
float fromY = 2;
float fromZ = 3;
float toX = 4;
float toY = 5;
float toZ = 6;
float speed = 7;
}