34 lines
613 B
Protocol Buffer
34 lines
613 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
message Team {
|
|
string team_name = 1;
|
|
string team_id = 2;
|
|
}
|
|
|
|
message GameService {
|
|
// urls for s3
|
|
string service_url = 1;
|
|
string checker_url = 2;
|
|
//board config
|
|
string checker_type =3;
|
|
|
|
int32 gets = 4;
|
|
string name = 5;
|
|
int32 places = 6;
|
|
int32 puts =7;
|
|
int32 default_score = 8;
|
|
int32 checker_timeout = 9;
|
|
|
|
}
|
|
// all time is in unixtime
|
|
message StartGameRequest {
|
|
int32 team_count = 1;
|
|
repeated GameService services = 2;
|
|
repeated Team teams = 3;
|
|
|
|
int32 game_starts_at = 4;
|
|
int32 rounds = 5;
|
|
int32 network_opens_at = 6;
|
|
|
|
}
|