AiDoStraightDrawCheck Method |
This method determines whether you are holding a staight draw and if, detailed information about that draw in a
StraightDrawCheckResult object.
The definition of a staight draw is: If there is exactly 1 card missing to make a straight AND if i have at least 1 of the 4 draw cards in my pockets.
A finished straight will not be considered a straight draw. If you call the method having a finished straight you will get a
StraightDrawCheckResult
reference, with all properties set to 0 in it. Also, if you do not have a staight draw, you will get a
StraightDrawCheckResult reference, with all properties
set to 0 in it.
This method should only be called on the flop or on the turn, else you will receive a
StraightDrawCheckResult reference, with all properties set to 0 in it.
Namespace: Potbot.Gameplay.AisAssembly: PotBot (in PotBot.exe) Version: 0.9.0.1 (0.9.0.1)
Syntax protected StraightDrawCheckResult DoStraightDrawCheck()
Protected Function DoStraightDrawCheck As StraightDrawCheckResult
member DoStraightDrawCheck : unit -> StraightDrawCheckResult
Return Value
Type:
StraightDrawCheckResultA
StraightDrawCheckResult reference.
Remarks See Also