ChessBoard FindValidPawnPromotion Method Delta Engine Documentation
Find type of pawn promotion are valid for the specified starting/ending position View code on GitHub

Namespace: Chess
Assembly: Chess (in Chess.exe) Version: 1.1.1.0 (1.1.1)
Syntax

public ChessBoard ValidPawnPromotionE FindValidPawnPromotion(
	ChessBoard PlayerColorE ePlayerColor,
	int iStartPos,
	int iEndPos
)

Return Value

Type: ChessBoard ValidPawnPromotionE
None or a combination of Queen, Rook, Bishop, Knight and Pawn
See Also