Feat: Add SocketMessage to encapsulate all messages

This commit is contained in:
Dorian Zedler 2024-06-30 14:44:57 +02:00
parent 8fd94a2314
commit 064eda07a3
Signed by: dorian
GPG key ID: 989DE36109AFA354

15
SocketMessage.proto Normal file
View file

@ -0,0 +1,15 @@
syntax = "proto3";
package ScStw;
import "RaceState.proto";
import "Command.proto";
import "Settings.proto";
message SocketMessage {
oneof message {
RaceState raceState = 1;
Command command = 2;
Settings settings = 3;
}
}