101 lines
2.2 KiB
Protocol Buffer
101 lines
2.2 KiB
Protocol Buffer
|
syntax = "proto2";
|
||
|
|
||
|
package tm;
|
||
|
|
||
|
import "fieldhw.proto";
|
||
|
import "division.proto";
|
||
|
message PitDisplay {
|
||
|
optional string name = 1;
|
||
|
optional int32 id = 2 [default = -1];
|
||
|
optional tm.Division division = 3;
|
||
|
optional tm.DisplayState.ScreenType defaultScreen = 4 [default = RANKINGS];
|
||
|
}
|
||
|
|
||
|
message PitDisplayList {
|
||
|
repeated tm.PitDisplay displays = 1;
|
||
|
}
|
||
|
|
||
|
message DisplayState {
|
||
|
enum DisplayType {
|
||
|
AUDIENCE = 1;
|
||
|
PIT = 2;
|
||
|
FIELD = 3;
|
||
|
}
|
||
|
enum ScreenType {
|
||
|
BLANK = 1;
|
||
|
INTRO = 2;
|
||
|
IN_MATCH = 3;
|
||
|
RESULTS = 4;
|
||
|
RANKINGS = 5;
|
||
|
LOGO = 6;
|
||
|
ALLIANCE_SELECTION = 7;
|
||
|
BRACKET = 8;
|
||
|
SC_RANKINGS = 9;
|
||
|
SC_RESULTS = 10;
|
||
|
FIELD_QUEUE = 11;
|
||
|
AWARD = 12;
|
||
|
SCHEDULE = 13;
|
||
|
ALLIANCE_SELECTION_16 = 14;
|
||
|
INSPECTION = 15;
|
||
|
ROUND_ROBIN_RANKINGS = 16;
|
||
|
OBSOLETE_DRIVER_SKILLS_RANKINGS = 17;
|
||
|
OBSOLETE_PROG_SKILLS_RANKINGS = 18;
|
||
|
PIT_QUEUE = 19;
|
||
|
IQ_WILDCARD = 20;
|
||
|
IQ_COMBINED_FINALS_RANKINGS = 21;
|
||
|
VEX_LOGO = 22;
|
||
|
DIV_RANKINGS = 23;
|
||
|
}
|
||
|
enum BracketOptions {
|
||
|
TOP8 = 1;
|
||
|
TOP16 = 2;
|
||
|
BOT16 = 3;
|
||
|
R32_1 = 4;
|
||
|
R32_2 = 5;
|
||
|
R32_3 = 6;
|
||
|
R32_4 = 7;
|
||
|
R64_1 = 8;
|
||
|
R64_2 = 9;
|
||
|
R64_3 = 10;
|
||
|
R64_4 = 11;
|
||
|
R64_5 = 12;
|
||
|
R64_6 = 13;
|
||
|
R64_7 = 14;
|
||
|
R64_8 = 15;
|
||
|
R128_1 = 16;
|
||
|
R128_2 = 17;
|
||
|
R128_3 = 18;
|
||
|
R128_4 = 19;
|
||
|
R128_5 = 20;
|
||
|
R128_6 = 21;
|
||
|
R128_7 = 22;
|
||
|
R128_8 = 23;
|
||
|
R128_9 = 24;
|
||
|
R128_10 = 25;
|
||
|
R128_11 = 26;
|
||
|
R128_12 = 27;
|
||
|
R128_13 = 28;
|
||
|
R128_14 = 29;
|
||
|
R128_15 = 30;
|
||
|
R128_16 = 31;
|
||
|
}
|
||
|
enum AutoWinnerOptions {
|
||
|
NO_AUTO_WINNER = 1;
|
||
|
RED = 2;
|
||
|
BLUE = 3;
|
||
|
}
|
||
|
enum SkillsRankingsMode {
|
||
|
SKILLS_RANK_STANDARD = 1;
|
||
|
SKILLS_RANK_FINALS = 2;
|
||
|
}
|
||
|
required tm.DisplayState.DisplayType displayType = 1;
|
||
|
optional tm.DisplayState.ScreenType screen = 2 [default = BLANK];
|
||
|
optional tm.Division division = 3;
|
||
|
optional tm.Field field = 4;
|
||
|
optional int32 pitDisplayId = 5;
|
||
|
optional tm.DisplayState.BracketOptions bracketOpt = 10 [default = TOP8];
|
||
|
optional tm.DisplayState.AutoWinnerOptions obsolete_winner = 11 [default = NO_AUTO_WINNER];
|
||
|
optional tm.DisplayState.SkillsRankingsMode skillsRankingsMode = 12 [default = SKILLS_RANK_STANDARD];
|
||
|
optional bool triggerUpdate = 13 [default = false];
|
||
|
}
|