Find type of pawn promotion are valid for the specified starting/ending position
View code on GitHub Namespace: ChessAssembly: Chess (in Chess.exe) Version: 1.1.1.0 (1.1.1)
public ChessBoard ValidPawnPromotionE FindValidPawnPromotion(
ChessBoard PlayerColorE ePlayerColor,
int iStartPos,
int iEndPos
)
public ChessBoard..::..ValidPawnPromotionE FindValidPawnPromotion(
ChessBoard..::..PlayerColorE ePlayerColor,
int iStartPos,
int iEndPos
)
Public Function FindValidPawnPromotion (
ePlayerColor As ChessBoard PlayerColorE,
iStartPos As Integer,
iEndPos As Integer
) As ChessBoard ValidPawnPromotionE
Public Function FindValidPawnPromotion (
ePlayerColor As ChessBoard..::..PlayerColorE,
iStartPos As Integer,
iEndPos As Integer
) As ChessBoard..::..ValidPawnPromotionE
public:
ChessBoard ValidPawnPromotionE FindValidPawnPromotion(
ChessBoard PlayerColorE ePlayerColor,
int iStartPos,
int iEndPos
)
public:
ChessBoard..::..ValidPawnPromotionE FindValidPawnPromotion(
ChessBoard..::..PlayerColorE ePlayerColor,
int iStartPos,
int iEndPos
)
member FindValidPawnPromotion :
ePlayerColor : ChessBoard PlayerColorE *
iStartPos : int *
iEndPos : int -> ChessBoard ValidPawnPromotionE
member FindValidPawnPromotion :
ePlayerColor : ChessBoard..::..PlayerColorE *
iStartPos : int *
iEndPos : int -> ChessBoard..::..ValidPawnPromotionE
Return Value
Type:
ChessBoard ValidPawnPromotionE
None or a combination of Queen, Rook, Bishop, Knight and Pawn