Commit 0f65af72 authored by MarkG's avatar MarkG Committed by TIGERs GitLab
Browse files

Resolve "Use new GC version"

Closes #1705

See merge request main/Sumatra!1474

sumatra-commit: ada46fd32100d71a01b10f7b77f47fe1d8b3b077
parent bd080746
Pipeline #17266 passed with stage
in 7 minutes and 31 seconds
......@@ -42,5 +42,5 @@ dependencies {
testImplementation 'junit:junit:4.13.2'
testImplementation 'org.assertj:assertj-core:3.21.0'
runtimeOnly "com.github.TIGERs-Mannheim:ssl-game-controller-maven:2.12.8.1:${osClassifier}"
runtimeOnly "com.github.TIGERs-Mannheim:ssl-game-controller-maven:2.13.0.1:${osClassifier}"
}
......@@ -21,12 +21,11 @@ message TeamToController {
// signature can optionally be specified to enable secure communication
optional Signature signature = 1;
// reserve obsolete field ids
reserved 3;
oneof msg {
// request a new desired keeper id
int32 desired_keeper = 2;
// response to an advantage choice request
AdvantageChoice advantage_choice = 3;
// request to substitute a robot at the next possibility
bool substitute_bot = 4;
// send a ping to the GC to test if the connection is still open.
......@@ -35,6 +34,17 @@ message TeamToController {
}
}
// the current advantage choice of the team
// the choice is valid until another choice is received
// if the team disconnects, the choice is reset to its default (STOP)
// teams may either send their current choice continuously or only on change
enum AdvantageChoice {
// stop the game
STOP = 0;
// keep the game running
CONTINUE = 1;
}
// wrapper for all messages from controller to a team's computer
message ControllerToTeam {
// reserve obsolete field ids
......@@ -44,4 +54,4 @@ message ControllerToTeam {
// a reply from the controller
ControllerReply controller_reply = 1;
}
}
\ No newline at end of file
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment