Compare commits

..

2 Commits

Author SHA1 Message Date
soul-walker
1f53057b3f Merge branch 'main' of https://gitea.joylink.club/joylink/rtss-proto-msg 2024-10-30 09:35:21 +08:00
soul-walker
f28bd7622b 添加仿真消息 2024-10-30 09:35:12 +08:00

39
src/simulation.proto Normal file
View File

@ -0,0 +1,39 @@
syntax = "proto3";
package simulation;
import "google/protobuf/any.proto";
// 仿
enum OperationType {
//
Unknown = 0;
// -------仿--------
//
Pause = 1;
//
Unpause = 2;
//
Reset = 3;
//
SetSpeed = 4;
//
Destroy = 5;
}
// 仿
message Operation {
//
OperationType otype = 1;
//
oneof param {
// 仿
SetSpeedParam setSpeedParam = 2;
}
}
// 仿
message SetSpeedParam {
//
float speed = 1;
}