public bool Add(SWIGTYPE_p_Position pos, treeT tree, SWIGTYPE_p_Filter filter) { bool ret = ScidPINVOKE.TreeCache_Add(swigCPtr, SWIGTYPE_p_Position.getCPtr(pos), treeT.getCPtr(tree), SWIGTYPE_p_Filter.getCPtr(filter)); return ret; }
public void Init(SWIGTYPE_p_Position pos) { ScidPINVOKE.FastBoard_Init__SWIG_1(swigCPtr, SWIGTYPE_p_Position.getCPtr(pos)); if (ScidPINVOKE.SWIGPendingException.Pending) throw ScidPINVOKE.SWIGPendingException.Retrieve(); }
public cachedTreeT Lookup(SWIGTYPE_p_Position pos) { global::System.IntPtr cPtr = ScidPINVOKE.TreeCache_Lookup(swigCPtr, SWIGTYPE_p_Position.getCPtr(pos)); cachedTreeT ret = (cPtr == global::System.IntPtr.Zero) ? null : new cachedTreeT(cPtr, false); return ret; }
public void set(SWIGTYPE_p_Position pos, treeT tree, SWIGTYPE_p_Filter filter, SWIGTYPE_p_uint32_t time) { ScidPINVOKE.cachedTreeT_set(swigCPtr, SWIGTYPE_p_Position.getCPtr(pos), treeT.getCPtr(tree), SWIGTYPE_p_Filter.getCPtr(filter), SWIGTYPE_p_uint32_t.getCPtr(time)); if (ScidPINVOKE.SWIGPendingException.Pending) throw ScidPINVOKE.SWIGPendingException.Retrieve(); }
public FastBoard(SWIGTYPE_p_Position pos) : this(ScidPINVOKE.new_FastBoard__SWIG_1(SWIGTYPE_p_Position.getCPtr(pos)), true) { if (ScidPINVOKE.SWIGPendingException.Pending) throw ScidPINVOKE.SWIGPendingException.Retrieve(); }
public bool ExactMatch(SWIGTYPE_p_Position pos, ByteBuffer buf, SWIGTYPE_p_simpleMoveT sm, gameExactMatchT searchType) { bool ret = ScidPINVOKE.Game_ExactMatch__SWIG_3(swigCPtr, SWIGTYPE_p_Position.getCPtr(pos), ByteBuffer.getCPtr(buf), SWIGTYPE_p_simpleMoveT.getCPtr(sm), (int)searchType); return ret; }
public bool ExactMatch(SWIGTYPE_p_Position pos, ByteBuffer buf, SWIGTYPE_p_simpleMoveT sm, SWIGTYPE_p_bool neverMatch) { bool ret = ScidPINVOKE.Game_ExactMatch__SWIG_2(swigCPtr, SWIGTYPE_p_Position.getCPtr(pos), ByteBuffer.getCPtr(buf), SWIGTYPE_p_simpleMoveT.getCPtr(sm), SWIGTYPE_p_bool.getCPtr(neverMatch)); return ret; }
public bool VarExactMatch(SWIGTYPE_p_Position searchPos, gameExactMatchT searchType) { bool ret = ScidPINVOKE.Game_VarExactMatch(swigCPtr, SWIGTYPE_p_Position.getCPtr(searchPos), (int)searchType); return ret; }
public void SetStartPos(SWIGTYPE_p_Position pos) { ScidPINVOKE.Game_SetStartPos(swigCPtr, SWIGTYPE_p_Position.getCPtr(pos)); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_Position obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; }