33 lines
564 B
Protocol Buffer
33 lines
564 B
Protocol Buffer
syntax = "proto2";
|
|
|
|
package tm;
|
|
|
|
message Division {
|
|
enum DivisionId {
|
|
ALL = 0;
|
|
DIV1 = 1;
|
|
DIV2 = 2;
|
|
DIV3 = 3;
|
|
DIV4 = 4;
|
|
DIV5 = 5;
|
|
DIV6 = 6;
|
|
DIV7 = 7;
|
|
DIV8 = 8;
|
|
ELIM = 100;
|
|
DEFAULT = 200;
|
|
}
|
|
enum DivisionMatchType {
|
|
QUAL_RANDOM = 1;
|
|
QUAL_ROUND_ROBIN = 2;
|
|
ELIMINATION = 3;
|
|
}
|
|
optional string name = 1;
|
|
optional bool enabled = 2;
|
|
optional uint32 id = 3;
|
|
optional tm.Division.DivisionMatchType matchType = 5 [default = QUAL_RANDOM];
|
|
}
|
|
|
|
message DivisionList {
|
|
repeated tm.Division divisions = 1;
|
|
}
|