2
0
Fork 0
proto/Command.proto

29 lines
545 B
Protocol Buffer
Raw Permalink Normal View History

syntax = "proto3";
package ScStw;
message RaceStartCommand {}
message LaneSetDisabledCommand {
uint32 laneNumber = 1;
bool disabled = 2;
}
message LaneSetFallCommand { uint32 laneNumber = 1; }
message RaceResetCommand {}
message RebootCommand {}
2024-11-14 14:05:04 +01:00
message SayAtYourMarksCommand {}
message Command {
oneof command {
RaceStartCommand start = 1;
LaneSetDisabledCommand disable = 2;
LaneSetFallCommand fall = 3;
RaceResetCommand reset = 4;
RebootCommand reboot = 5;
2024-11-14 14:05:04 +01:00
SayAtYourMarksCommand sayAtYourMarks = 6;
}
}