Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 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();
 }
Esempio n. 3
0
 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;
 }
Esempio n. 4
0
 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();
 }
Esempio n. 5
0
 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();
 }
Esempio n. 6
0
 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;
 }
Esempio n. 7
0
 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;
 }
Esempio n. 8
0
 public bool VarExactMatch(SWIGTYPE_p_Position searchPos, gameExactMatchT searchType) {
   bool ret = ScidPINVOKE.Game_VarExactMatch(swigCPtr, SWIGTYPE_p_Position.getCPtr(searchPos), (int)searchType);
   return ret;
 }
Esempio n. 9
0
 public void SetStartPos(SWIGTYPE_p_Position pos) {
   ScidPINVOKE.Game_SetStartPos(swigCPtr, SWIGTYPE_p_Position.getCPtr(pos));
 }
Esempio n. 10
0
 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;
 }