X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fhashprobe.proto;h=505f06e76f24c1c1b1ee4f6e8ad2b94019dbad19;hb=dace61600a12f3f1ad1abcb2625f4c497e8f15ba;hp=5df9b9c52945f971bdc1fd2ce53c5cfc683966d0;hpb=5d7ad47c198c54e7a91876a6d8d8488a0c23a1ba;p=stockfish diff --git a/src/hashprobe.proto b/src/hashprobe.proto index 5df9b9c5..505f06e7 100644 --- a/src/hashprobe.proto +++ b/src/hashprobe.proto @@ -1,15 +1,28 @@ 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; - int32 value = 3; - int32 eval = 4; + 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; - int32 bound = 6; + + enum ValueBound { + BOUND_NONE = 0; + BOUND_UPPER = 1; + BOUND_LOWER = 2; + BOUND_EXACT = 3; + }; + ValueBound bound = 6; } service HashProbe {