36 lines
884 B
Protocol Buffer
36 lines
884 B
Protocol Buffer
|
syntax = "proto2";
|
||
|
|
||
|
package tm;
|
||
|
|
||
|
import "team.proto";
|
||
|
message Rankings {
|
||
|
message RankTeam {
|
||
|
optional string number = 1;
|
||
|
optional string name = 2;
|
||
|
}
|
||
|
message RankAlliance {
|
||
|
repeated tm.Rankings.RankTeam teams = 1;
|
||
|
optional string name = 2;
|
||
|
}
|
||
|
message Rank {
|
||
|
optional string number = 1;
|
||
|
optional int32 divId = 2;
|
||
|
optional int32 rank = 3;
|
||
|
optional int32 wp = 4;
|
||
|
optional int32 sp = 5;
|
||
|
optional int32 wins = 6;
|
||
|
optional int32 losses = 7;
|
||
|
optional int32 ties = 8;
|
||
|
optional string name = 10;
|
||
|
optional float avgPoints = 11;
|
||
|
optional int32 numMatches = 12;
|
||
|
optional uint32 totalPoints = 13;
|
||
|
optional bool minNumMatches = 14;
|
||
|
optional uint32 highScore = 15;
|
||
|
optional int32 ap = 16;
|
||
|
optional bool tied = 17;
|
||
|
optional tm.Rankings.RankAlliance alliance = 18;
|
||
|
}
|
||
|
repeated tm.Rankings.Rank ranks = 1;
|
||
|
}
|