-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAPI.proto
More file actions
43 lines (35 loc) · 831 Bytes
/
API.proto
File metadata and controls
43 lines (35 loc) · 831 Bytes
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
33
34
35
36
37
38
39
40
41
42
43
syntax = "proto3";
option csharp_namespace = "V5RPC.Proto";
import "DataStructures.proto";
import "Events.proto";
message RPCCall {
oneof method {
OnEventCall on_event = 1;
GetTeamInfoCall get_team_info = 2;
GetInstructionCall get_instruction = 3;
GetPlacementCall get_placement = 4;
}
}
message OnEventCall {
EventType type = 1;
EventArguments arguments = 2;
}
message GetTeamInfoCall {
Version server_version = 1;
}
message GetTeamInfoResult {
TeamInfo team_info = 1;
}
message GetInstructionCall {
Field field = 1;
}
message GetInstructionResult {
repeated Wheel wheels = 1;
ControlInfo command = 2;
}
message GetPlacementCall {
Field field = 1;
}
message GetPlacementResult {
Placement placement = 1;
}