2023-10-15 12:21:25 +02:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package ScStw;
|
|
|
|
|
|
|
|
message RaceStartCommand {}
|
|
|
|
|
2023-10-15 12:56:27 +02:00
|
|
|
message LaneSetDisabledCommand {
|
|
|
|
uint32 laneNumber = 1;
|
|
|
|
bool disabled = 2;
|
|
|
|
}
|
2023-10-15 12:21:25 +02:00
|
|
|
|
|
|
|
message LaneSetFallCommand { uint32 laneNumber = 1; }
|
|
|
|
|
|
|
|
message RaceResetCommand {}
|
|
|
|
|
|
|
|
message RebootCommand {}
|
|
|
|
|
2024-11-14 14:05:04 +01:00
|
|
|
message SayAtYourMarksCommand {}
|
|
|
|
|
2024-11-20 09:02:55 +01:00
|
|
|
// sets the race from FINISHED to FINISHED_MUTED, only works in FINISHED state
|
|
|
|
message MuteFalseStartSoundCommand {}
|
|
|
|
|
2023-10-15 12:21:25 +02:00
|
|
|
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;
|
2024-11-20 09:02:55 +01:00
|
|
|
MuteFalseStartSoundCommand muteFalseStartSound = 7;
|
2023-10-15 12:21:25 +02:00
|
|
|
}
|
|
|
|
}
|