Beispiel #1
0
 public void TestEnumResult()
 {
   EnumResult result = new EnumResult();
   result.Clear();
   StdDeck.CardMask[] pockets = {};
   StdDeck.CardMask board = new StdDeck.CardMask();
   result.Print(pockets, board);
 }
    public static extern int enumResultAlloc(ref EnumResult result, int nplayers,
					     OrderingMode mode);
    public static extern int enumSample(Game game, StdDeck.CardMask[] pockets,
					StdDeck.CardMask board, StdDeck.CardMask dead,
					int npockets, int nboard, int niter, int orderflag,
					ref EnumResult result);
 public static extern void enumResultClear(ref EnumResult result);
 public static extern void enumResultFree(ref EnumResult result);
Beispiel #6
0
 public static EnumResult Sample(Game game, StdDeck.CardMask[] pockets, StdDeck.CardMask board, StdDeck.CardMask dead, int npockets, int nboard, int niter, int orderflag)
 {
     EnumResult result = new EnumResult();
       API.enumSample(game, pockets, board, dead, npockets, nboard, niter, orderflag, ref result);
       return result;
 }
    public static extern void enumResultPrintTerse(ref EnumResult result,
						   StdDeck.CardMask[] pockets,
						   StdDeck.CardMask board);
Beispiel #8
0
 public static extern int enumSample(Game game, StdDeck.CardMask[] pockets,
                                     StdDeck.CardMask board, StdDeck.CardMask dead,
                                     int npockets, int nboard, int niter, int orderflag,
                                     ref EnumResult result);
Beispiel #9
0
 public static extern int enumResultAlloc(ref EnumResult result, int nplayers,
                                          OrderingMode mode);
Beispiel #10
0
 public static extern void enumResultFree(ref EnumResult result);
Beispiel #11
0
 public static extern void enumResultClear(ref EnumResult result);
Beispiel #12
0
 public static extern void enumResultPrintTerse(ref EnumResult result,
                                                StdDeck.CardMask[] pockets,
                                                StdDeck.CardMask board);