Feat: Add SocketMessage to encapsulate all messages
This commit is contained in:
parent
8fd94a2314
commit
064eda07a3
1 changed files with 15 additions and 0 deletions
15
SocketMessage.proto
Normal file
15
SocketMessage.proto
Normal 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;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue