]> git.sesse.net Git - stockfish/blobdiff - src/hashprobe.proto
Give the proto a package name.
[stockfish] / src / hashprobe.proto
index 393553e94b46043ca75af59db3c550b82aa8ed79..505f06e76f24c1c1b1ee4f6e8ad2b94019dbad19 100644 (file)
@@ -1,10 +1,17 @@
 syntax = "proto3";
+package hashprobe;
+
 message HashProbeRequest {
        string fen = 1;
 }
 message HashProbeResponse {
+       repeated HashProbeMove move = 1;
+}
+message HashProbeMove {
+       int32 move = 7;  // See types.h
+
        bool found = 1;
-       int32 move = 2;  // See types.h
+       int32 pv_move = 2;  // See types.h
        int32 value = 3;  // Dynamic eval (may be inexact, see the "bound" field)
        int32 eval = 4;  // Static eval
        int32 depth = 5;