]> git.sesse.net Git - remoteglot-book/blob - count.proto
Treat 0-length moves as not having a move.
[remoteglot-book] / count.proto
1 message Count {
2         // Number of games.
3         optional int32 white = 1;
4         optional int32 draw = 2;
5         optional int32 black = 3;
6
7         // Opening number (32-bit hash value).
8         optional fixed32 opening_num = 4;
9
10         // Elo statistics for this position.
11         optional int64 sum_white_elo = 5;
12         optional int64 sum_black_elo = 6;
13         optional int32 num_elo = 7;
14
15         // First timestamp this position/move was seen, and the byte offset
16         // into the PGN file for that game.
17         optional int64 first_timestamp = 8 [default=32503680000];
18         optional int32 pgn_file_num = 9;
19         optional int64 pgn_start_position = 10;
20
21         // Moves seen from this position.
22         repeated string move = 11;
23 };