-
Notifications
You must be signed in to change notification settings - Fork 44
/
Copy pathssl_gc_rcon_autoref.proto
32 lines (27 loc) · 1.14 KB
/
ssl_gc_rcon_autoref.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
syntax = "proto2";
option go_package = "github.com/RoboCup-SSL/ssl-game-controller/internal/app/rcon";
import "ssl_gc_game_event.proto";
import "ssl_gc_rcon.proto";
// AutoRefRegistration is the first message that a client must send to the controller to identify itself
message AutoRefRegistration {
// identifier is a unique name of the client
required string identifier = 1;
// signature can optionally be specified to enable secure communication
optional Signature signature = 2;
}
// AutoRefToController is the wrapper message for all subsequent messages from the autoRef to the controller
message AutoRefToController {
// reserve fields for removed fields
reserved 3, 4;
// signature can optionally be specified to enable secure communication
optional Signature signature = 1;
// game_event is an optional event that the autoRef detected during the game
optional GameEvent game_event = 2;
}
// ControllerToAutoRef is the wrapper message for all messages from controller to autoRef
message ControllerToAutoRef {
oneof msg {
// a reply from the controller
ControllerReply controller_reply = 1;
}
}