X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fhashprobe.proto;h=b02a7a92fccac6313b4e5898893c06d61a6ee953;hp=505f06e76f24c1c1b1ee4f6e8ad2b94019dbad19;hb=5458a7787b0ae3c603794d7170d1acc7f0e88dd3;hpb=dace61600a12f3f1ad1abcb2625f4c497e8f15ba diff --git a/src/hashprobe.proto b/src/hashprobe.proto index 505f06e7..b02a7a92 100644 --- a/src/hashprobe.proto +++ b/src/hashprobe.proto @@ -5,16 +5,16 @@ message HashProbeRequest { string fen = 1; } message HashProbeResponse { - repeated HashProbeMove move = 1; + repeated HashProbeLine line = 1; } -message HashProbeMove { - int32 move = 7; // See types.h +message HashProbeLine { + HashProbeMove move = 1; + bool found = 2; - bool found = 1; - 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; + repeated HashProbeMove pv = 3; + int32 value = 4; // Dynamic eval (may be inexact, see the "bound" field) + int32 eval = 5; // Static eval + int32 depth = 6; enum ValueBound { BOUND_NONE = 0; @@ -22,7 +22,13 @@ message HashProbeMove { BOUND_LOWER = 2; BOUND_EXACT = 3; }; - ValueBound bound = 6; + ValueBound bound = 7; +} + +message HashProbeMove { + string from_sq = 1; // a1, a2, etc. + string to_sq = 2; + string promotion = 3; // Q, R, etc. } service HashProbe {