bool found = 2;
repeated HashProbeMove pv = 3;
- int32 value = 4; // Dynamic eval (may be inexact, see the "bound" field)
- int32 eval = 5; // Static eval
+ HashProbeScore value = 4; // Dynamic eval (may be inexact, see the "bound" field)
+ HashProbeScore eval = 5; // Static eval
int32 depth = 6;
enum ValueBound {
string to_sq = 2;
string promotion = 3; // Q, R, etc.
}
+message HashProbeScore {
+ enum ScoreType {
+ SCORE_CP = 0;
+ SCORE_MATE = 1;
+ }
+ ScoreType score_type = 1;
+ int32 score_cp = 2;
+ int32 score_mate = 3;
+}
service HashProbe {
rpc Probe(HashProbeRequest) returns (HashProbeResponse) {}