Ply::Methods
Ply(dotKnight.Ply)
Creates a new ply object based on an existing ply.
Ply(System.Byte,System.Byte)
Creates a new ply object, containing FromSquare and ToSquare. This means no capture, no promotion, no en passant square and no castling.
Ply(System.Byte,System.Byte,System.Byte,System.Byte)
Creates a new ply object, containing FromSquare, ToSquare and appropriate rook castling squares. This means no capture, no promotion and no en passant square.
Ply(System.Byte,System.Byte,System.Int32)
Creates a new ply object, containing FromSquare, ToSquare and Score. This means a capture was made but there was no promotion, no en passant square and no castling.
Ply(System.Byte,System.Byte,System.Int32,System.Byte)
Creates a new ply object, containing FromSquare, ToSquare, Score and en passant square. This means an en passant capture was made but there was no promotion and no castling.
Ply(System.Byte,System.Byte,System.Int32,System.Byte,System.Byte)
Creates a new ply object, containing FromSquare, ToSquare, and promotion piece. This means no en passant square, and no castling.
GetPromoPiece(System.String,System.String)
Otbtains the appropriate pice for promotion based on which side is to move.

Returns:
   datatype :
GetSquareNumber(System.String)
Obtains the square number from the string representation of the square.

Returns:
   datatype :
ParseUCI(System.String,System.Byte,System.String)
Parses a UCI formatted string and returns a new ply.

Returns:
   datatype :
 
Ply::Properties
EPSquare
Public interface for EPSquare.
FromSquare
Public interface for obtaining the FromSquare.
PromoPiece
Public interface for the PromoPiece.
RookCastlesFromSquare
Public interface for RookCastlesFromSquare.
RookCastlesToSquare
Public interface for RookCastlesToSquare.
Score
Public interface for the Score.
ToSquare
Public interface for the ToSquare.
 
Ply::Private Data Members
iEPSquare
If the ply involved a capture en passant, then this is the en passant square.
iFromSquare
The square where the moving piece started from.
iPromoPiece
If the ply involved a promotion, then this is the new promotoed piece (i.e. Q, R, B, N).
iRookCastlesFromSquare
If the ply involved castling, then this is the starting square for the rook involved in castling.
iRookCastlesToSquare
If the ply involved castling, then this is the ending square for the rook involved in castling.
iScore
If the ply involved a capture, then this is the difference in material value between the capturing piece and the captured piece.
iToSquare
The square where upon which the moving piece landed.