X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fhashprobe.proto;h=393553e94b46043ca75af59db3c550b82aa8ed79;hp=5df9b9c52945f971bdc1fd2ce53c5cfc683966d0;hb=6f00ea1c0fa32f3c1923e7e29a70cfc0d8dc1cc5;hpb=fa29884806691c30ac058e04e338c075a8b6f893 diff --git a/src/hashprobe.proto b/src/hashprobe.proto index 5df9b9c5..393553e9 100644 --- a/src/hashprobe.proto +++ b/src/hashprobe.proto @@ -1,15 +1,21 @@ syntax = "proto3"; - message HashProbeRequest { string fen = 1; } message HashProbeResponse { bool found = 1; - int32 move = 2; - int32 value = 3; - int32 eval = 4; + int32 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 {