- TTEntry();
- TTEntry(Key k, Value v, ValueType t, Depth d, Move m, int generation);
- Key key() const { return key_; }
+ TTEntry() {}
+ TTEntry(uint32_t k, Value v, ValueType t, Depth d, Move m, int generation,
+ Value statV, Value kingD)
+ : key_ (k), data((m & 0x1FFFF) | (t << 20) | (generation << 23)),
+ value_(int16_t(v)), depth_(int16_t(d)),
+ staticValue_(int16_t(statV)), kingDanger_(int16_t(kingD)) {}
+
+ uint32_t key() const { return key_; }