示例#1
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_simpleMoveT obj) {
   return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
示例#2
0
文件: Game.cs 项目: pbbwfc/ScidNET
 public ushort DecodeNextMove(ByteBuffer buf, SWIGTYPE_p_simpleMoveT sm) {
   ushort ret = ScidPINVOKE.Game_DecodeNextMove(swigCPtr, ByteBuffer.getCPtr(buf), SWIGTYPE_p_simpleMoveT.getCPtr(sm));
   return ret;
 }
示例#3
0
文件: Game.cs 项目: pbbwfc/ScidNET
 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;
 }
示例#4
0
文件: Game.cs 项目: pbbwfc/ScidNET
 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;
 }
示例#5
0
文件: Game.cs 项目: pbbwfc/ScidNET
 public ushort AddMove(SWIGTYPE_p_simpleMoveT sm, string san) {
   ushort ret = ScidPINVOKE.Game_AddMove(swigCPtr, SWIGTYPE_p_simpleMoveT.getCPtr(sm), san);
   return ret;
 }
示例#6
0
文件: Game.cs 项目: pbbwfc/ScidNET
 public void SetMoveData(moveT m, SWIGTYPE_p_simpleMoveT sm) {
   ScidPINVOKE.Game_SetMoveData(swigCPtr, moveT.getCPtr(m), SWIGTYPE_p_simpleMoveT.getCPtr(sm));
 }