C# Class HoldemHand.PocketHands

Represents a set of pocket hands and operations that can be applied to them.
Show file Open project: Ezakhiel/Donate-Money-For-Unicorns-ubbse2015 Class Usage Examples

Public Methods

Method Description
Query ( string s ) : PocketHands

This function allows a text description (or query) of set of pocket hands to be specified such that all of the hands that match this query will be returned.

Query ( string s, ulong dead ) : PocketHands

This function allows a text description (or query) of set of pocket hands to be specified such that all of the hands that match this query (minus the hands containing any of the cards in the dead mask) will be returned.

ValidateQuery ( string s ) : bool

ValidateQuery ( string s, ulong dead ) : bool

Method Details

Query() public static method

This function allows a text description (or query) of set of pocket hands to be specified such that all of the hands that match this query will be returned.
public static Query ( string s ) : PocketHands
s string Query String
return PocketHands

Query() public static method

This function allows a text description (or query) of set of pocket hands to be specified such that all of the hands that match this query (minus the hands containing any of the cards in the dead mask) will be returned.
public static Query ( string s, ulong dead ) : PocketHands
s string string defining PocketHands query
dead ulong card mask for dead cards
return PocketHands

ValidateQuery() public static method

public static ValidateQuery ( string s ) : bool
s string
return bool

ValidateQuery() public static method

public static ValidateQuery ( string s, ulong dead ) : bool
s string
dead ulong
return bool